Skip to content

Yingying Chen_Exercise 9#3

Open
yunluyingying wants to merge 1 commit into
lyy005:masterfrom
yunluyingying:master
Open

Yingying Chen_Exercise 9#3
yunluyingying wants to merge 1 commit into
lyy005:masterfrom
yunluyingying:master

Conversation

@yunluyingying

Copy link
Copy Markdown

No description provided.

Comment thread Exercise09.py

# I don't know what happened to my code that I cannot get the right answer
#Feel free to comment on the code. Thanks.

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.

For each t-test, the null hypothesis should include both the WT and mutation. For example, for the test of I213N, the data should include WT and I213N. The null assumes the mutation does not affect the counts whereas the alternative hypothesis assumes mutation has an effect on the counts. Both tests are based on the same dataset

Comment thread Exercise09.py
#Iterations: 134
#Function evaluations: 242
#array([ 1.45896358, 42.57991424, 0.04348732])

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

D2=2*(fitalter1.fun-fitalter2.fun)
1-chi2.cdf(x=D2,df=2)
# A hump-shape model is better than linear model.

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