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.
Solución
¡Gracias por tus comentarios!
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 3.7Awesome!
Completion rate improved to 3.7
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.
Solución
¡Gracias por tus comentarios!
single
Awesome!
Completion rate improved to 3.7
Challenge: Estimate Parameters of Chi-square Distribution
Desliza para mostrar el menú
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.
Solución
¡Gracias por tus comentarios!