Untitled

 avatar
unknown
plain_text
3 days ago
417 B
0
Indexable
disp("Rishabh Singh")
disp("enter number of observations : ")
n = input("\")
disp("value of p")
p = input("\")
disp("enter the value of x : ")
for i=1:n
    X(1,i) = input("\")
end
disp("enter the number of frequency : ")
for j=1:n
    F(1,j) = input("\")
end
EF = sum(F)*binomial(p,n-1)
disp("Given Frequencies : ")
disp(F)
disp("Expected Frequencies : ")
disp(EF)
plot2d3(0:n-1,F)
plot2d(0:n-1,EF
Leave a Comment