Skip to content

Corley_Doherty_Burton_Tutorial9_Submission#7

Open
mcorley1 wants to merge 6 commits into
lyy005:masterfrom
mcorley1:master
Open

Corley_Doherty_Burton_Tutorial9_Submission#7
mcorley1 wants to merge 6 commits into
lyy005:masterfrom
mcorley1:master

Conversation

@mcorley1

@mcorley1 mcorley1 commented Nov 3, 2017

Copy link
Copy Markdown

No description provided.

Comment thread part1script.py
print(pval2)
print(pval3)


Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

Comment thread part2script.py
return nll
probswrong=numpy.array([1,1,1])
best=minimize(Grate,probswrong,method="Nelder-Mead",options={"disp":True},args=data)
print (best.x)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

Comment thread part3script.py
chi2_hump=2*(fit_null.fun-fit_hump.fun)
1-sp.stats.chi2.cdf(x=chi2_hump,df=2)

#based on the chi2 test, the hump-shaped model is the best fit for the leaf decomposition data.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants