Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring tara-main up to date with mike's 'main' #3

Open
wants to merge 299 commits into
base: main
Choose a base branch
from

Conversation

mikegilchrist
Copy link
Collaborator

Hopefully haven't broken anything of Tara's

- Clean up code
- render file into pdf
Use as starting point for fits where individual is kept track of.
Processed model equations to get number of parameters.
- Defined own nls_multstart_allfits which returns all of the nls fitted
   - nls_multstart has a poorly designed 'convergence_count' method
   - only looks at AIC (not parameters) and to meaninglessly high precision
- Normal error doesn't converge
- Poisson error does
- Add t1max parameter to deal with suprious log posterior peak near
tmax
- Add some plotting functions (though can't get 'main' to work)
- Not getting errors when
- Null model results match that of glm_poisson, which is reassuring
- stan formulation fails to match glm_qpoisson
mikegilchrist and others added 30 commits May 17, 2023 09:39
This was a file from Kacyi that I accidentally made a duplicate of
Adding Empson Code Files
I tried to pull out data from all temperature loggers to get the range and variance for each chamber (in the repeated 40C trials).

I accidentally modified the original temperature logger .txt files, removing the first row (the headers).
 - was able successfully create a tibble() with each bootstrapped mean and var values
- Modified file name and structure.
fixed issues with bootstrapping function
I renamed my previous R marked down files with more descriptive names along with the date in a different format for clarity.

I also created a new R mark down file with the working bootstrap function and the resulting graph of mean(var) vs mean(mean).
Code for working bootstrap function, 2 graphs, start of using brm.
This file has (what I currently think is) working bootstrap and working simulated data of motif counts. The simulated data doesn't match the original data very well so this may not be perfect.
Small updates to spacing in code.
Used terminal to restore the original temperature logger output files from the main branch
- using vectors for filtering
- Use system() to get git root
- remove creation of 'real' df
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.

None yet

2 participants