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.
Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 3.7
Challenge: Estimate Parameters of Chi-square Distribution
Deslize para mostrar o menu
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.
Solução
Obrigado pelo seu feedback!
Awesome!
Completion rate improved to 3.7single