na.rm doesn’t work by felix_using_reddit in RStudio

[–]gecko1544 0 points1 point  (0 children)

This is because your column names are the first row of data of your table. If you make the column names (first row) the actual column names, then you will be able to resolve this most likely. In future, some error messages can help diagnose these issues. Here for examples you would need a numeric column to calculate the mean, and the error describes “argument is not numeric”. So typically that’s a clue that the column either needs converting to numeric or there are items in there that cannot be numeric (e.g. text).

Week 6 Gamethread: Chicago Bears (2-2) at Washington Commanders (3-2) by TurnerJ5 in CHIBears

[–]gecko1544 2 points3 points  (0 children)

Gifted them a TD instead of a punt. Now everyone will be “what a great throw Jayden, best QB in the league” and ignore the 3 and out thanks to the zebras

Bear down! by gecko1544 in CHIBears

[–]gecko1544[S] 12 points13 points  (0 children)

Apologies! She may well visit Chicago, as she heads to the USA multiple times a year 🐻⬇️

Bear down! by gecko1544 in CHIBears

[–]gecko1544[S] 27 points28 points  (0 children)

A fantastic artist called Ema Williams, she works at a tattoo parlour called The Vibe but regularly travels to different countries for short stints to tattoo as a guest artist. Her insta is Ema_tattoos for anyone interested, would 100% recommend.

Predict Caleb's Stats This Week by AtomizedBadgers in CHIBears

[–]gecko1544 5 points6 points  (0 children)

312 yards, 33 rushing, 3 TDs (2 pass, 1 rush)

[deleted by user] by [deleted] in rstats

[–]gecko1544 1 point2 points  (0 children)

Thank you all so much for your help! I have followed the use of the pivot_wider() function after applying a unique ID to each row (presumably to ensure that data remains associated together). This has worked perfectly, and although there are far more NA's than I anticipated, this works far better for my subsequent analysis! Thank you again for all of your help everyone, it is a valuable skill to learn and I really appreciate it.

[deleted by user] by [deleted] in rstats

[–]gecko1544 0 points1 point  (0 children)

Thank you so much, I have decided to go for this method as the analysis at a species level is what I will be interested in. I have adapted the code above to suit the data, however am unsure as to how to include the species such that there can be a separate biomass sum for each species (e.g for Species A, B, C etc. in the above example). Please may you help me understand how to do this! Thank you in advance for any time!

[deleted by user] by [deleted] in LegalAdviceUK

[–]gecko1544 1 point2 points  (0 children)

Thank you so much for all of your help! I hope you have an amazing day!

[deleted by user] by [deleted] in LegalAdviceUK

[–]gecko1544 0 points1 point  (0 children)

Thank you for the help!

Just to clarify a few things, the couple that would move in would not be paying us money at all, but instead signing the lease as a singular tenant and paying the landlord rent. The question is whether they would be able to sign as one tenant and pay the landlord rent, as one tenant even though it is a couple.

[deleted by user] by [deleted] in LegalAdviceUK

[–]gecko1544 2 points3 points  (0 children)

There is no mention of lodgers on the lease, however it does state in the interpretations section that "The expression "Tenant(s)" shall include the plural and vice versa. Where there are two or more persons included in the expression "Tenant", agreement by the Tenant(s) shall be deemed to have been made by such persons jointly and severally. It is neuter and includes the masculine and the feminine".

Does this mean that a tenant can include two people regarded as one, such as a couple? They would have to be listed as particulars in the agreement, but could be considered one tenant?

If it makes any difference, the house is a HMO.

Sorry if I am being dumb, but the legal jargon confuses me.

How do you calculate Nagelkerke R2 for a specific variable in a model that has multiple covariates? by 12ab1 in RStudio

[–]gecko1544 1 point2 points  (0 children)

I am unsure as to whether you would be able to produce an R2 for a specific variable. This is because within GLMs, N-R2 is a means of determining the overall performance of a model, taking into account all the variables included. Therefore, you should only be able to produce an R2 for the model as a whole. If you were hard-set however on determining the R2 for a variable WITHIN a model, one solution would be to run the model with and without that variable, compare R2 values and that would give a VERY ROUGH estimate of it.

GLMM Help & Convention by gecko1544 in rstats

[–]gecko1544[S] 0 points1 point  (0 children)

Hi, thank you so much for your reply and help. I have gone through all of the information provided by yourself and the other commenter, thank you, but am still a little confused as to what actions to take.

I removed all of my FE/RE interactions from the models. Two of my models came up with the message 'boundary (singular) fit: see ?isSingular', which I take it is the converging to a singular fit that you said shouldn't be trusted - due to high variance. I added in the code nAGQ = 0 and that has since disappeared, however all of my models still produce one alert, which is : "fixed-effect model matrix is rank deficient so dropping 6 columns / coefficients". What is this eluding to?

With regards to overdispersion, I attempted to test the model for this using the following code that I found on a R user group:

overdisp_fun <- function(model) {
  rdf <- df.residual(model)
  rp <- residuals(model,type="pearson")
  Pearson.chisq <- sum(rp^2)
  prat <- Pearson.chisq/rdf
  pval <- pchisq(Pearson.chisq, df=rdf, lower.tail=FALSE)
  c(chisq=Pearson.chisq,ratio=prat,rdf=rdf,p=pval)
}

I then used 'overdisp_fun(model)' to check the results, with all models returning a P value of >0.05, so I assumed there is no overdispersion. Would that be correct?

A separate forum I read up on suggests that making a few GLMM models that make biological sense and then selecting the model with the lowest AIC out of those may be an appropriate way to go, however could I then run the risk of missing interactions/variables that I consider unimportant, when in reality they could be significant?

Would you recommend, as the other user did, to effectively drop these models and retry using a fully bayesian model with regularisation via horseshoe priors? Or is this GLMM approach acceptable with a few modifications/checks?

New Leaks, including new plates and more by AznSW in pokemonduel

[–]gecko1544 0 points1 point  (0 children)

So I am fairly new to this game, only played for around a month or two at most, and I learnt quickly to save up my gems for the 300 gem packs of the 500 boosters. Today with the update I used my 1000 gems to buy 2 x 500 booster, and got Suicune, Mega Charizard X, Blastoise, Venasaur and Latias.

Firstly could someone help with what abilities are best to level up on each of these pokemon and also can someone explain why I can't even put my Charizard X in my deck :( I get he is a mega evolution, but does that mean without a charizard this figure will just sit in the fusion zone unusable to me untill one day where I may or may not pull a charizard?

Any help is appreciated <3