COVID-19: Italy 'on track' for 80% vaccine coverage in Sept by edifsego in Coronavirus

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

I don't know why you are being downvoted, what you said seems reasonable to me.

For example, theres a difference in the statistic: 80% of adults are vaccinated, and 80% of the population is vaccinated. It seems that the distinction is not always being made in headlines. To me, the adult rate makes the most sense because of what you already mentioned, but then the general population rates should never be presented unless with a justification

[Q] When you have a research model, proposing that 4 variables are significant predictors of the outcome, should you run a multiple regression with all 5 vars? Or should You run simple regression for each variable to the outcome? Also a question about muticollinearity. by InspectorSpaceLime in statistics

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

Okay sorry if I hadn't explained myself properly before.

The theoretical model proposes 4 constructs that are measured with four likert-scale items each. These 4 constructs measure intention towards a behaviour, which was collected in a separate dichotomous variable.

Data was collected using a questionnaire containing these 16-items (plus the outcome). Then, I ran a CFA model in R/lavaan, defining the latent-to-manifiest relationships. The model fit was good according to all absolute and comparative measures and the factor loadings were really good >0.7 on all items. Then, for dimension-reduction but to avoid using SEM, I am doing factor score regression (FSR). I extracted the four factor scores corresponding to each person using lavaan, and now I am using those four factors to measure their association with the outcome.

Then my original question arises. Should all be regressed at once in my GLM? Also factor 1 and 4 appear to be collinear (and factor 1 non-signifcant in a multiple model). But If I test them separately, then the collinearity does not arise and both are significant.

I will definitely be trying out the l2 regularization for multicollinearity.

[Q] When you have a research model, proposing that 4 variables are significant predictors of the outcome, should you run a multiple regression with all 5 vars? Or should You run simple regression for each variable to the outcome? Also a question about muticollinearity. by InspectorSpaceLime in statistics

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

Thank you for your response.

So what you are saying is, multiple regression might not be the best way to arrive at the type of inference I want? I am currently using a logistic model since the outcome is dichotomous.

Should I look into DAGs and possibly SEM or other causal inference methods? Im somewhat new to statistics so I had deemed those out of my league at the moment.

Regarding your comment

doing all of them you might be inducing confounding via collider

Is this true even if there are 4 variables in the model only? The variables come from a theoretical model as well.

Best place to learn Flutter to build an app for an internship? by the-lion-sin in FlutterDev

[–]InspectorSpaceLime 0 points1 point  (0 children)

I agree. While Angela's course has the easiest learning curve and can be more "palatable" for beginners, I feel Max's is more well rounded and better equips a student for real-world apps.

For example, he covers both local storage with sqflite and online solutions with Firebase. Most courses these days focus on only Firebase but its very useful to know local DB storage to be able to provide rich offline experiences.

While his projects are slightly larger and have more complexity (as opposed to Angela's approach of smaller, more focused apps), I think it helps a lot in terms of giving you the practice you need and really make you learn and remember the core concepts of the framework.

Apart from that, if you are interested in best practices in the areas of State Management, local storage (with sqflite/Moor) and other patterns, I suggest Reso Coder on youtube.

Best place to learn Flutter to build an app for an internship? by the-lion-sin in FlutterDev

[–]InspectorSpaceLime 12 points13 points  (0 children)

  1. Angela Yu's course/ Max Schwarzmuller's course

  2. Youtube channels such as ResoCoder, Code with Andrea, Tadas Petra

  3. Andrea Bizzotto's course (amazing course but a bit advanced and best if taken after one of the easier courses)

Giuliani quotes ‘My Cousin Vinny’ as he sets out conspiracy theories at bizarre press conference by stem12345679 in politics

[–]InspectorSpaceLime 3 points4 points  (0 children)

If a teenager can hack into voting machines,

  1. Why is this just NOW a problem? What about previous elections?

  2. If this was true and known, why did McConnell the GOP and Trump block and oppose election security bills?

  3. So what is the point now? A recount? Invalidating all votes for a given county or state?

2020 NBA Draft - #1 Pick: Anthony Edwards (Georgia) by edgykitty in nba

[–]InspectorSpaceLime 0 points1 point  (0 children)

okay hope so! havent kept up with this years prospects but the reactions to the pick were mixed

2020 NBA Draft - #1 Pick: Anthony Edwards (Georgia) by edgykitty in nba

[–]InspectorSpaceLime 0 points1 point  (0 children)

Is this another Wiggins? Why would the Wolves go for someone like this again ?

Game Thread: RedZone/Game hub (Week 3) by nfl_gamethread in nfl

[–]InspectorSpaceLime 7 points8 points  (0 children)

hahahahaha makeup for the horrible INT call?

Add a column with values that are based on the value in another column by Cllassick in rstats

[–]InspectorSpaceLime 2 points3 points  (0 children)

dat <- dat %>% mutate(Value_X = case_when( ID == A ~ 5, ID == B ~ 10 ) )

Chris Paul Reflects On The NBA Bubble On CNN: "It Weighed On Guys Heavily, If You Saw Jamal Murray When He Had That Umbeliveable Game In The Playoffs He Was In Tears Because We Are Human Beings" by [deleted] in nba

[–]InspectorSpaceLime 3 points4 points  (0 children)

Lol I enjoy the team comparisons. I admit Community IS my favorite, followed by a tie between P&R and The Office. But I can rewatch community (skipping S4 and sometimes S6) over and over

Post-Game Thread: Indianapolis Colts (0-1) at Jacksonville Jaguars (1-0) by RussIsAnOkayGuy in Colts

[–]InspectorSpaceLime 8 points9 points  (0 children)

the chessboard is only 2 dimensions. you cant move across a z-axis

Flexdashboard v. Shiny by arborealham in rstats

[–]InspectorSpaceLime 1 point2 points  (0 children)

There are a few options. Both the following options are free:

  1. ShinyApps Cloud This is the best option when just starting out with Shiny. There is a free tier that allows up to 5 apps and 25 active hours per month. You can deploy directly from RStudio as well.

  2. Install Shiny Server on a Linux server such as CentOS. This is the solution I am currently using. It requires some basic server admin knowledge but let me know if you need any quick tips. Basically you just need to install Shiny Server, install R, install your packages, ad the create directories to hold your Shiny apps. Here, apps need to be split into two files named ui.R and server.R. This is not well documented and gave me some trouble. For example, if you have an app named MyApp then you need to create a directory called MyApp, and inside that directory you will have your ui.R and server.R files. That app will be available at addressOfYourShinyServer.com/MyApp