Skip to main content

All Questions

Tagged with
0 votes
0 answers
7 views

Hausman test report [closed]

I've been working on a research project using a multi-level regression model, and I'm currently figuring out how to present the Hausman test results. I've seen some papers where authors mention doing ...
Sabrina's user avatar
0 votes
0 answers
20 views

How do I correctly specify nesting in the sommer R package?

I accustomed to lme4 where it would be simply: (1|genotype/root_ID) but it's unclear to me looking through the documentation the appropriate way to do this in sommer. mod1 <- mmer(Y ~ 1, ...
bigoof99's user avatar
0 votes
0 answers
12 views

Effects Contrast Matrix for Interaction with Multiple Grand Means

I want to include an interaction between two factors: area and house_type, in my GAM (MGCV), I hope to make a sum-to-zero contrast encoding. But, I do not want each combination of the factors to be ...
statmaj's user avatar
0 votes
0 answers
30 views

Correlation alternatives / How to go about testing this relationship? [migrated]

I have a large set of temperature data from upstream and downstream gauges. I am trying to find the influence of dam release on downstream temperatures. To do this, I am comparing correlation between ...
Matt Schaaf's user avatar
0 votes
0 answers
32 views

How to account for clustering in Conditional Logistic Regression in R

I'm playing around with some data obtained for a case-crossover study, where participants serve as their own controls multiple times (matched controls to cases). This data is a bit different from ...
Joshua Rhee's user avatar
1 vote
1 answer
61 views

Forest Plot or Plotting OddsRatio in a Table

I am trying to report the prevalence's and plot the Odds Ratio in a descriptive table something similar to this Post by R for Health Data Science Book. This creates a forest plot. Since I have other ...
Usman YousafZai's user avatar
0 votes
1 answer
28 views

Compute R Squared by Fixing Betas for Multi Linear Regression without Intercept

I want to fix the betas in multi linear regression based on some data I have, which leads to a RSquare value less than 0% and greater than 100 % based on the projection approach mentioned in ...
godimedia's user avatar
  • 999
1 vote
1 answer
61 views

Multiple polynomial regression in C#

So I need to fit some vectorized data into a 3rd degree polynomial, however I can't find any libraries in C# that are able to do that. Essentially, x is a vector with 3 elements ([R, G, B]), and the ...
Lucas Pevidor's user avatar
0 votes
0 answers
42 views

Logistic regression resulting in "eval(family$initialize) : y values must be 0 <= y <= 1"?

Keep in mind that I'm very new to regression (not necessarily R as a language, but I'm no expert). I am using a data set called MidCity and I am supposed to determine whether or not brick homes are ...
bay's user avatar
  • 13
0 votes
0 answers
42 views

How to present findings from the mcmc_areas() and conditional_effects using r brms and bayesplot packages?

I am fairly new to bayesian statistics but have really fallen in love with what it can do and how it presents findings compared to frequentist statistics especially for categorical or ordinal datasets....
Andrew Caffrey's user avatar
0 votes
0 answers
35 views

Difficulty Computing Simple Slopes with Reference Level "B" in Linear Regression Model

I need to check whether the interactions i have found are significant. When I follow this line of codes, I do not have any issues. The simple_slopes(model) command is working. I ahve three conditions, ...
user23676414's user avatar
0 votes
0 answers
17 views

Multi variant regression analysis for non-continuous data attributes using Python

Hi wondering if anyone can recommend an approach to carrying out regression analysis.. I am trying to understand the interaction between a set of non-continuous variables (i.e. TRUE/FALSE etc.) on a ...
Java_fox's user avatar
0 votes
0 answers
30 views

Sampling Variance of OLS Estimators of Regression Coefficients

I am confused about whether the value of the sampling variance of the OLS estimator of a regression coefficient (e.g. slope) differs from sample to sample. Assume we have the following simple linear ...
Jingyang Zhang's user avatar
0 votes
0 answers
112 views

Mediation and binary logistic regression - is this even possible with R?

I am a beginner and have my term paper due next week. As I said, I'm carrying out a binary logistic regression with Mediator. I wanted to calculate the effect using mediate(), but I get an error: ...
Fleur's user avatar
  • 1
0 votes
0 answers
11 views

Dynamic Pricing based on demand and independent categorical variables

I have search level data of a cab company; I have the variables presented above and also a lot of additional data related a search trip on their website. example, it the session has led to a booking, ...
Haripriya N's user avatar

15 30 50 per page
1
2 3 4 5
46