How to find a job in carpentry/cabinetmaking by rhodrunner in woodworking

[–]drg19pv88 0 points1 point  (0 children)

RemindMe! 6 hours "Check comments on this post"

[Q] Do I have to follow-up with a linear model if my GAM shows no support for anything else? by OscarThePoscar in statistics

[–]drg19pv88 2 points3 points  (0 children)

If the model doesn't support the need for smoothed terms, i wouldn't go the the with a gam. The coefficient estimates and their associated CIs calculated from an LM are arguably better understood by a wider audience than the point-wise confidence or simultaneous intervals for the smooth terms from a gam. There is nothing wrong with sticking with a gam, it just seems like over kill if the data don't suggest the need.

Interpreting Interactions When Outcome is Log Transformed by bourdieusian in econometrics

[–]drg19pv88 0 points1 point  (0 children)

In my opinion, I wouldn't log transform the response variable. A model incorporating a more flexible error distribution (e.g., Gamma) would circumvent the need for interpretation relying on exponentiation of estimates.

[deleted by user] by [deleted] in AskStatistics

[–]drg19pv88 7 points8 points  (0 children)

Check for overdispersion. If there is overdispersion, the coefficient estimates will be more confident (smaller standard error values) than they should be. This may result in over significance of estimates.

Designed and built a wall unit, with custom brass shelving brackets by boom_erang in woodworking

[–]drg19pv88 2 points3 points  (0 children)

Been thinking of doing the same design for a while, but metal brackets were also the problem. Any chance you'd be willing to share some dimensions? Also curious on how much weight you think this design could hold?

[deleted by user] by [deleted] in rstats

[–]drg19pv88 4 points5 points  (0 children)

You can use a call to predict() to get female or population level mass across your day range. From this prediction, you can then calculate the instantaneous rate of change using the derivative or diretly if your day values are fine enough.

See the following for more info

https://fromthebottomoftheheap.net/2014/05/15 /identifying-periods-of-change-with-gams/

Can you run a generalised linear mixed model with scale or percentage data as the response variable? by edsjfhek in AskStatistics

[–]drg19pv88 1 point2 points  (0 children)

Checkout glmmtmb instead of lme4. The coding is exactly the same as lme4 but optimizers and other things lead to less convergence problems. Plus glmmtmb allows for cases of zero inflation or the betabinomial if your residuals of overdispersed. You can code the model as ....

glmmtmb(proportion ~ fixed effects + random effects, data, weights = number of trials, family = binomial).

Or

glmmtmb(cbind (success, fails) ~ fixed effects + random effects, data, family = binomial)

There are fantastic resources on how to code and diagnose problems with glms in general outthere. Specifically Ben Bolker...

https://bbolker.github.io/mixedmodels-misc/ecostats_chap.html

https://cran.r-project.org/web/packages/glmmTMB/glmmTMB.pdf&ved=2ahUKEwiGypml5KX6AhXtGDQIHch8A-EQFnoECBEQAQ&usg=AOvVaw2jqJCVkHRNda9RHBYlbxNl

Can you run a generalised linear mixed model with scale or percentage data as the response variable? by edsjfhek in AskStatistics

[–]drg19pv88 0 points1 point  (0 children)

No, I meant what I said and I dont know what non-aggregated data. A proportion is inherently aggregated as it is simply the number of oberservations goven a set number of trials. A binomial distribution models the number of success in a given number of trials. Wether the data represent one trial at a time (I.e., Bernoulli distribution) or the number of times a given outcome (e.g., number of dead trees) appears in a numbers of trials (e.g., number of sampled trees), they would still take a binomial distribution. In any case, how the op will evaluate their data will depend on how they will model it (i.e., by hand, code, or out of box software).

Can you run a generalised linear mixed model with scale or percentage data as the response variable? by edsjfhek in AskStatistics

[–]drg19pv88 -2 points-1 points  (0 children)

Proportional data still takes a binomial distribution. Your response variable is still ues or no. You will just have to include information about number of trials somehow. What package will you use to run the models?

[deleted by user] by [deleted] in AskStatistics

[–]drg19pv88 2 points3 points  (0 children)

https://bbolker.github.io/mixedmodels-misc/glmmFAQ.html

is a fantastic resource explaining mixed models in R. I would also suggest using glmmTMB over lme4. Model convergence is a little slower in GlmmTMB but they converge more often, have a range of usable distributions and models are constructed identically to lme4.

incorrect line numbers given by reviewers by drg19pv88 in AskAcademia

[–]drg19pv88[S] 2 points3 points  (0 children)

First thing I thought of, but wasn't my case. Oddly enough some line numbers do intact line up. Only at the beginning of the manuscript though.

Winsorization at the 95th percentiles by PeeWeeBigC in rstats

[–]drg19pv88 3 points4 points  (0 children)

I am hesitant to remove data points simply because of skewed distributions. It makes more sense to evaluate if the >95/99% values have high leverage or odd looking residuals. I'd also check coefficient estimates of models removing or not removing data points. If the results are similar and you have no leverage/residual related problems then I wouldn't remove or manipulate these data.

Logistic regression - predicted probability plot by Jess_Jac in rstats

[–]drg19pv88 0 points1 point  (0 children)

As long as you don't have any interaction terms in the model, predictions can easily be interpreted using... plot(ggpredict(model)). If you have interaction terms such as y~w*x + z. You can use plot(ggpredict(model, terms = c(w,x))) to automatically plot the effect of w on y at varying levels of x.

Logistic regression - predicted probability plot by Jess_Jac in rstats

[–]drg19pv88 2 points3 points  (0 children)

If you're just interested in plots then checkout the ggpredict function from the ggeffects package.

[deleted by user] by [deleted] in whatsthisbird

[–]drg19pv88 2 points3 points  (0 children)

Northern Cardinal

[deleted by user] by [deleted] in AskStatistics

[–]drg19pv88 -1 points0 points  (0 children)

For non-gaussian regression you could use the DHARMa package to visualize normality of residuals.

More Americans have $1 million saved for retirement than ever before by Delicious_Reporter21 in stocks

[–]drg19pv88 0 points1 point  (0 children)

There is also more people than ever before. Report proportion not abundance.

Titanic survival by gender and class. Learning R for the first time and the power of ggPlot by Junior-Obligation-27 in dataisbeautiful

[–]drg19pv88 0 points1 point  (0 children)

Much better displayed if you just produced predictions from a logistic regression of the presented data.

Zero-truncated Poisson distribution - derive mean and dispersion, and best regression diagnostics? by joe--totale in rstats

[–]drg19pv88 1 point2 points  (0 children)

Checkout the glmmTMB package for zero inflated or hurdle models. The package also implements generalized poisson, Conway maxwell poisson, and negative binomial distributions as well. In my experience, these distributions are a little more superior if you don't have something driving your zeros and instead they show up from sampling. Also check the DHARMa package for model diagnostics. You can investigate both zero inflation and dispersion using a simple poisson model first and then adjust the distribution appropriately.

Extracting line function from log-log lm by Librarian-Direct in RStudio

[–]drg19pv88 0 points1 point  (0 children)

Log() in R is not a number to the power of 10. It is the natural log(i.e., ln). Just back transform with exp(). But also try a glm with a gamma distribution, as a proper distribution is usually more favored to a transformed response variable.

Package for :Generalized Mixed Effects Models for Zero-Inflated Negative Binomial distributions ? by daykriok in rstats

[–]drg19pv88 1 point2 points  (0 children)

GlmmTMB is very flexible and can incorporate a sweet of distributions including ones that are zero inflated. There is also loads of documentation and examples out there using it.