Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Quantile()
- {
- private float a= g.getAlfa();
- private q_a= new float[3];
- public void Quantile()
- {
- alfa=a;
- q_alfa=q_a;
- q_alfa[0]=2.576;
- q_alfa[1]=1.960;
- q_alfa[2]=1.645;
- }
- public float calcoloQuantile(float a)
- {
- float alfa= a;
- if(a==0.01)
- return q_alfa[0];
- else if(a==0.05)
- return q_alfa[1];
- else return q_alfa[2];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement