Skip to content

Zoe and Soren submission#6

Open
zoeloh wants to merge 5 commits into
lyy005:masterfrom
zoeloh:master
Open

Zoe and Soren submission#6
zoeloh wants to merge 5 commits into
lyy005:masterfrom
zoeloh:master

Conversation

@zoeloh

@zoeloh zoeloh commented Nov 3, 2017

Copy link
Copy Markdown

No description provided.

Comment thread solution1.py
D=2*(nullfit.fun - linfit.fun)
print("I213N P value:")
print(1-chi2.cdf(x=D, df=1))

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 solution2.py
initialGuess = numpy.array([1,1,1])
fit = minimize(monod, initialGuess, method="Nelder-Mead", options={'disp': True}, args=data)

print(fit.x) No newline at end of file

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 solution3.py

D=2*(constfit.fun - humpfit.fun)
print("hump over const fit")
print(1-chi2.cdf(x=D, df=2))

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.

2 participants