Challenge: Estimate Parameters of Chi-square Distribution
Swipe to start coding
Suppose that we have samples from the Chi-square distribution. We must determine the parameter K
of this distribution, which represents the number of degrees of freedom.
We know that the mathematical expectation of the Chi-square distributes value is equal to this parameter K.
Estimate this parameter using the method of moments and the maximum likelihood method. Since the number of degrees of freedom can only be discrete, round the resulting number to the nearest integer.
Your task is:
- Calculate the mean value over samples using
.mean()
method. - Use
.fit()
method to get maximum likelihood estimation for the parameter.
Løsning
Takk for tilbakemeldingene dine!
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 3.7
Challenge: Estimate Parameters of Chi-square Distribution
Sveip for å vise menyen
Swipe to start coding
Suppose that we have samples from the Chi-square distribution. We must determine the parameter K
of this distribution, which represents the number of degrees of freedom.
We know that the mathematical expectation of the Chi-square distributes value is equal to this parameter K.
Estimate this parameter using the method of moments and the maximum likelihood method. Since the number of degrees of freedom can only be discrete, round the resulting number to the nearest integer.
Your task is:
- Calculate the mean value over samples using
.mean()
method. - Use
.fit()
method to get maximum likelihood estimation for the parameter.
Løsning
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 3.7single