instruction stringlengths 9 38.7k |
|---|
I'm working with data from an experiment that I plan to analyze using a mixed-effects logistic model. In this study, 200 participants (identified by the variable Participant) were randomly assigned to one of four experimental conditions (variable: Condition). Within each condition, participants were tasked with determi... |
Adaptive Markov Chains Monte Carlo (MCMC), unlike traditional MCMC methods that rely on fixed proposal distributions, dynamically adjust their proposal distribution based on the information gathered during the sampling process. This adaptivity aims to improve the exploration of the state space (shorter mixing time), le... |
UPdated to convey statistical question:
The underlying statistical question is one of which test to use: I have three models against a single dataset. I want to see which model is better. Is repeated measures ANOVA the appropriate test, or regular one-way ANOVA?
Also, is my number of groups 1 since I'm just testing aga... |
I am using statsmodels mixedlm as follows:
model = smf.mixedlm("value ~ categorical_variable", data, groups=data[year_id])
When plotting my residuals I get a distribution that looks like below:
It's very close to normal but there's a slight shift to the right. And in the Q-Q plot there is deviation at the tails.
I've ... |
So we introduced a new feature in our app, that would aid conversion (hypothetically).
When I tried to measure this incremental change in conversion, I split my base set of customers into control (C) 30% and test (T) 70% sets via random sampling.
Though feature was live to all customers for more than 2 months, we start... |
I know for LASSO and elastic net regression, standardization is important, because coefficient penalization in regularization will be biased if the ranges of data are different.
Meanwhile, OLS regression does not run into this problem. We are just using stochastic gradient descent to find the best coefficients to minim... |
If I have a company with 1000 employees and 20% are female, and I want to select 20 of them at random, can I say that there is 95% certainty that the number of female employees in the sample will be between X and Y, where X is 4+1.96sqrt(0.2(0.8)/20)20 and Y is 4-1.96sqrt(0.2*(0.8)/20)*20, so 0.5 to 7.5, or 1 to 8 afte... |
I use a Bayesian latent variable model to construct a time series cross-sectional measure of corruption for all countries in the world from 1960 to 2010. For each country-year observation, I obtain a latent estimate $\theta$. To illustrate, here is the code for the model:
# run the Stan model
mod.dyn <- stan(file="Dyn... |
I have a dataset containing 50,000 observations of individuals undergoing drug treatment in Chile from 2015 to 2019. I aim to examine whether polydrug use (intake of more than one substance at the commencement of treatment) impacts the number of crimes an individual is involved in post-treatment (treatment outcomes pro... |
I have been reading about the autoregressive conditional heteroskedasticity (ARCH) models and they seem amazing. I Understand that the model captures the volatile of the variance of residuals. However, is there a way to simulate and get some residual predictions. I am trying to use it for a model. I have fitted seasona... |
I have done a benchmarking of multiple learners on multiple tasks with nested CV (inner loop : CV 3F, and outer loop : CV 3F). My datas have 1052 observations and each task have 10-12 features.
I obtained the mean AUC and a standard deviation like this :
I want to compare the algorithms between them and I don't feel l... |
I would like to convert β-values into odds ratios. It is about table 1 on page 5 in the article
„A revised inventory of Adverse Childhood Experiences“
https://www.semanticscholar.org/paper/A-revised-inventory-of-Adverse-Childhood-Finkelhor-Shattuck/e8c839ac810be741ad4622916cb5726f4229c8ea
The methodology section of the... |
I am in high school learning about sample proportions and they say that $n$ is the sample size. The example they gave is you spin a spinner board where the chance of landing on a 1 in 0.6, and 0 is 0.4.
and the formula for the variance is: $$\sqrt{\frac{p(1-p)}{n}}$$
And go on to say that $n$ is the number of spins. T... |
I have seen that in many papers/competitions for causal inference, the assumption of strong ignorability is made -
$P(Y^{x}\perp X\mid V)$, where $X$ is the treatment, $Y$ the outcome and $V$ indicates the set of all covariates (all other variables).
Example -
Estimating individual treatment effect: generalization bou... |
In class I am told the influence function of the IQR should be a constant times the difference between the influence function for the 75th percentile and the influence function for the 25th percentile, but why is that?
|
I've been working on my master thesis, and I've been using R to test heteroskedasticity with Breusch-Pagan test.
The code is rather simple:
model_1 <- lm(GERD_HRQL~Dob, data=myresearch)
bptest(model1)
model_2 <- lm(Dob~GERD_HRQL, data=myresearch)
bptest(model2)
And the results are, respectively:
model_1: BP = 0.52928,... |
Set up a Bayesian analysis of an hidden Markov model and calculate the posterior distribution and the full conditionals, given this assumptions:
The state space of the hidden process has size m
$Z_t|X_t,\{\mu_i\}_{i=1}^m \sim N(\mu_{X_t},\frac{1}{\tau})$ with $\tau$ equals for all the states of the hidden process
$X_t... |
I am conducting a multinomial regression using multinom package in r. Outcome is the day the week a patient was discharged (7 levels) and there are a few predictors that are not choice-specific (age, sex, etc). However, I have some patients who had multiple observations. How can I address with multinom? I don’t think I... |
As a production planner, a variant of the following example has been bothering me for a long time; hopefully someone here can help me to view the problem in the right manner. Let's consider a hypothetical vendor that has been selling hot dogs at the same location from Monday thru Friday each week for many years. Over... |
Say I have a list of the letter grades of a class (meaning some number of As, Bs, Cs, Ds and Fs). Is there any way for me to take this discrete distribution and extrapolate it to the most likely continuous one? Especially given that the ranges for each letter grade usually vary (i.e. A might be from 90-100, a differenc... |
In my machine learning problem I am using a CNN to classify images.
Since my dataset is imbalanced I want to perform classification probability threshold tuning so I can find the optimal balance between sensitivity and specificity using G-mean over the returned values of the ROC-curves (explanation link).
I have split ... |
I have data on companies, each company ranks how important are the following 4 elements (price leadership, quality, innovation, and customization) for its competitive strategy.
There are 4 dependent variables, each capturing the (relative) importance of one of the 4 elements of the competitive strategies for the focal ... |
I analyse a set of physicochemical data from the river and two rows of wells - one located closer and the other further from the river (in the N-S direction).
The study's main aim is to investigate the variability (or heterogeneity) in the content of the different parameters at the water intake concerning distance from... |
I am performing a mixed-linear model and I am unsure how to address my sessions in this model.
The main question in my research is finding if psychological factors can predict neurofeedback success. I have 40 subjects that undergo 6 sessions of Neurofeedback training.
My data:
I have the average neurofeedback success ... |
I recall various conversations with biologists, ecologists, and foresters that I neglected to ask for clarification on at the time. It doesn't occur in any of my statistics references.
Sometimes in reference to methodology I've heard people use the phrase "skewing the data" or "skewing the results". The specifics have ... |
I have a dependent variable and independent variable in 7-point Likert scale. And the mediator in 11-point Likert scale. Can I perform statistical analysis in SPSS in this case, and what should I do with 11-point Likert scale variable?
|
I am in process of creating a forecast using VAR model for pricing of a certain commodity.
Some of my variables (such as price itself, as well as inflation, and taxation) don't have any seasonalities. At the same time, other variables (export, import, production) have a glaring yearly seasonality.
The question is, can ... |
Apologies in advance for what maybe a really silly question :(
I am trying to construct a Graph Neural Network, in which I would like to learn representations for certain nodes, but not others. To be concrete I have a dataset of URLs which contain the title of the page, and the domain on which that URL title appeared s... |
I performed Fisher's exact test on a 4*2 table in SPSS, and I got a significant difference (P= 0.010) and I wonder what is the post hoc test to use following that?
Is it the adjusted standardized residuals?
and if I want to calculate the P value from each adjusted standardized residuals, how can I do that?
|
Noob question.
I have a full population of every inspector rating for all items being rated. Each inspector has inspected a subset of the items and given them a rating, but different inspectors have inspected a different number of items.
My goal is to measure how different the ratings are that a given inspector gives c... |
I am interested in performing an analysis using a GMM model for a panel dataset.
I am conducting the analysis in R, using the pgmm package. My code is the following:
GMM_results <- pgmm(Firm Value ~ Efficiency + SIZE + Performance +
Leverage + Sales Growth + Firm Age | Industry,
data = dataset, effect = "two... |
I have a set of samples that each containing a certain number of points in 2D. The number of points varies across samples. Each point in these samples also has a specific type, like blue, red, green, etc. I would like to compare the distribution of, say, red points across samples in terms of their clustering and centra... |
I wanted to assess the performance of my lightGBM classifier using a calibration plot. If I understood correctly, a calibration plot visualizes the alignment between the predicted probabilities by the model and the observed outcomes in the data. In a good model I would ideally see the three lines overlaying each other.... |
I am performing a prospective interventional study that is one arm. I need to calculate the sample size.
The study is about the impact of a specific intervention on systolic blood pressure. No studies have been done before on this topic, so I determined the minimally required decrease in systolic blood pressure to resu... |
I am trying to determine the best way to proceed when one has a mix of stationary, trend-stationary and non-stationary variables with unit roots.
My dependent variable $Y_t$ is a trend-stationary variable. My independent variables $X_t^1$, $X_t^2$ etc. are a mix of stationary $I(0)$, trend-stationary (stationary after ... |
Suppose I can predict the GPA of a college freshman's first semester using their high school grades with a simple linear regression, y = ax + b, where y is either the actual or predicted first semester college GPA, x is there high school gpa and b is an intercept. Suppose I have this data, can find there are optimal v... |
Suppose I have $N$ points in $\mathbb{R}^D$ such that for each point $x_n$, its L2 norm is at most 1:
$$||x_n||_2^2 = x_n^T x_n \leq 1$$
Assuming $N > D >> 0$, if I construct a matrix $X \in \mathbb{R}^{N \times D}$ where the $n$th row of $X$ is $x_n$, what distribution over $x_n$ maximizes the nuclear norm (also calle... |
I am doing machine learning on phylogenetic trees. Species within the trees have several relations, such as living at the same time or not, and I would like to use a global attention mechanism which would allow nodes to interact together, and obtain information about each other.
However, I think the necessary informati... |
For a random variable $X$ on $[0, 1]$ with $F(1) = 1$ and $F(x) < 1$ for all $x < 1$, show that $E(|X|^r)^{\frac{1}{r}} \to 1$ as $r → ∞$. If $F$ is such that $F(x) < 1$ for all $x ∈ \mathbb{R}$ and all moments exist, then show $E(|X|^r)^{\frac{1}{r}} \to \infty$ as $r → ∞$.
Can someone provide a hint?
|
In a test for the difference of two means.
Null Hypothesis: $\bar{x}_1 = \bar{x}_2$
Alternative Hypothesis: $\bar{x}_1 < \bar{x}_2$
After the data is collected, I find that $\bar{x}_1$ is much greater than $\bar{x}_2$.
Should I perform a statistical test. If so, then what?
Alternatively, do I conclude that I assumed ... |
I have a huge pool of features for a classification task.
For error estimation of my models, I am using Nested Cross Validation (Nested CV), where I have an inner loop of CV for hyper-parameter tuning of the model which is later used to estimate the test values in the outer loop of CV.
My question is, whether I can do ... |
I have two sets of data, SetA and SetB - they are metrics of the same group from different time or paired. SetA score at 10 am and SetB score at 5 pm, same person (30 of them).
I want to check if the mean is significantly different between the two. The scores violate NORMALITY, hence, I have considered 3 tests,would lo... |
I have a general question. If you have Duration vs Cost graph and you can see some outliers. (let cost be the target variable and duration is a variable) Then, you may need to omit these outliers.
But, if you see a residual plot, the residual does not look bad because your actual points and expected points (i.e. predic... |
I have two data sets of discontinuity data, 1) discontinuity orientations measured during field mapping and 2) remotely sensed discontinuities acquired using drone imagery. The drone survey covered larger areas and areas inaccessible on foot. Is there a statistical method I can utilise to compare the data and determine... |
I have conducted SEM analysis in R and used Maximum Likelihood Robust estimator as my data are categorical and deviate from multivariate normality. when I submitted my manuscript, one reviewer asked for robustness analysis.
I have been searching for such analyses in R but I cannot find anything. I only see resources ab... |
Challenge: Is this the best approach for scoring multicompetitor races? How do I account for both uncertain prior & uncertain evidence when scoring?
Case: athletes getting scores in each race, relative to their performance. Athletes also getting ranking index based on their X best scores within the ranking period. Tha... |
I have data on monthly gross flows in the labor market. For three labor market states, I can calculate 9 transition rates and create a Markov transition matrix where each row gives a value of one.
$e_{t+1}$
$u_{t+1}$
$n_{t+1}$
$ \sum $
e_t
$e_t e_{t+1}$
$e_t u_{t+1}$
$e_t n_{t+1}$
1
u_t
$u_t e_{t+1}$
$u_t u_... |
I'm conducting a multilevel regression analysis (mixed model) with time as the levels.
My teacher wanted me to measure time as both a fixed and as a random effect. However, it turned out I couldn't measure time as a random effect because of convergence issues, so it's now only being measured as a fixed effect.
Could so... |
I'm looking for a way to conduct a Meta-analysis on Odds Ratio's from several studies/article's. The thing is that my OR's are based on logistic regression's with continuous predictors (outcome is binary, affliction or not). So they are not based on frequencies of hits in experimental en control group. Can I do this an... |
When is the case that a classifier's accuracy is better when no data augmentation has been applied (Compared to the dataset with the augmentations applied)? I'd like to know especially how the data is distributed in that case.
|
I have been asked to asked to analyse a stepped-wedge cluster randomised trial that I did not design. Because the trial protocol has already been registered, I don't have much flexibility in the way the analysis needs to be performed.
The trial involved an intervention to increase the detection of a particular medical ... |
If I run a lasso regression model, and get a series of coefficients, say :
$\widehat{\beta _{1}},\widehat{\beta _{2}},...,\widehat{\beta _{p}}$
Is it legitimate to say that the value of the penalty term (for a given lambda) was:
$\sum \left | \widehat{\beta _{i}} \right |$ ?
In other words, if I manually, "by hand", ta... |
I am performing a GMM analysis using the pgmm function in the plm package in R. I read a lot about different errors (nonrobust, cluster-robust, Windmeijer-corrected cluster-robust errors) and I wanted to know which of them is included in the PLM package (as the default version)?
How can I verify, which type of error wa... |
for the following stochastic volatility model : $y_t = exp(\frac{\alpha_t}{2}) \epsilon_t $
where $\epsilon_t \sim NID(0,1) $
$\alpha_{t+1} = \phi \alpha_t + (1-\phi)\mu +\eta_t$
where $\eta_t\sim NID(0,\sigma_n^2)$
setting $\phi =1$ i.e $\Delta \alpha_{t+1} = \eta_t$
prove that the autocorrelation coefficient o... |
I want to improve class prediction accuracy using random forest. I was wondering if I repeat the class prediction for each point 1000 times and choosing the most frequent answer make any sense (especially that the model itself has by default multiple iterations)?
Is there a way to choose the iteration that had highest... |
everyone!
I'm a reliability engineer and a project was given to me two weeks ago. I need to answer some questions about the reliability of a specific item in a train. There are 189 items, one for each equipment, and the failure data was given to me.
The item can be repaired and then reinstalled in another equipment.
Th... |
Dear members,
I am researching time series data with heteroskedasticity.
I have an R code that acts on stock data, call it F(), which returns a time series. The time plot of F() is not problematic and is not heteroskedastic. But when I plot the lagged series of F(), there is high heteroscedasticity in the relationship ... |
My glm model contains repeated measures of smoking (main exposure, binary:0,1), alcohol (binary 0,1), visit(binary1,0), education ("polr" with three levels 1,2,3), calorie (polr with 5 levels) and outcome as DMFT index in children (no missing) at multiple time points of 6months, 5, 9, 13 years.
All the variables are in... |
Consider a compound Poisson random variable $S = \Sigma_{i=1}^N X_i $ where N is Poisson with mean 2 and $X_i$ is equally likely to be any of 1,2,3,4 . Find P{S = 6}.
Solution:
Let me solve this problem. We are given that $S = \Sigma_{i=1}^N X_i $ where N is Poisson with mean 2 and $X_i$ is equally likely to be any of... |
In simple linear regression, the variance of the residuals is given by $Var(e_i) = \sigma^2\Big(1 - \dfrac{1}{n} - \dfrac{(x_i-\bar{x})^2}{n\cdot s_x^2}\Big)$. This is obviously not constant.
A commonly used diagnostic plot is the residual vs predictor plot, in which we plot the $e_i$ versus $x_i$. And apparently, thi... |
(I'm working with R but the core of my question is about statistics.)
I'm using a quasibinomial model in R with a dependent variable and several independent variables (both numeric and dummy variables). I've used Anova(mymodel) from the car package to test which independent variable affect my dependent variable. One of... |
I have an longitudinal data with measurements of hand grip strength measured in kg by a hand-held dynamometer, using a maximum of three measurements taken with the strongest hand in an old population. Number of missing participants is due to drop-out, death, invalid measure (if there was a difference of 20 kg or more ... |
I have count data by group for which I would like to to model the outcome using a random effect for group. I was initially planning on using Poisson regression, but checked if the data are overdispersed to determine if a negative binomial distribution should be used.
Overall, the outcome data were indeed overdispersed,... |
Suppose there are $N$ types of blocks. The blocks are labelled with their types. The average weights of the types are in the set $\{w_i\,|\,\,i<N\}$. In other words, at least one pair of block types shares an average weight. The variances of each block type are unknown, but samples fall into a normal distribution.
I dr... |
UPDATE: Thanks again for everyone's comments on my question and it seems like the meta-analysis is now working finally after creating a separate column on variance.
The robumeta package has now returned a pooled estimate and I was trying to generate a forest plot using the forest.robu command
However, the forest plot ... |
Often in data science, we have partial knowledge of the causal DAG structure. Regarding some of the possible edges in the DAG, we are in doubt.
Are there any resources to tackle this setting? The resources might belong to the following classes -
Learning materials - Materials that shed light on causal discovery in the... |
I'm trying to model the effect of flow at entry and flow at exit on the produced energy in a thermal power plant ,The data is collected every 2h for two years,in my internship they want me to model these time series data but the supervisor told me to go for a simple linear regression without any lagged values ,... |
I am trying to understand, what are the chances to have a 100-year temperature record for a day broken at least once during summer.
I am a stats noob, so my layman approach is this:
There are 100 historical temperature readings for any given day.
A probability of a day being the hottest for the last 100 years is
$1/1... |
I am a water quality scientist who is using water quality data from my region to determine if certain demographics are more likely to have poorer water quality (for example, by race).
The data was collected through a demographic survey to people who participated in water quality testing. Participants were categorized b... |
I have recently been learning statistics from the ground up (for context I am an engineer by training with no formal education in statistics/probability).
I have seen various hypothesis tests: z-test, t-test, 2-sample z or t test, paired differences test, etc. In the examples I have seen, these usually involve 1 or 2 s... |
To predict growth of money in a stock market I try to calculate expected return over a longer timeframe (e.g. 30 years) with a confidence interval. The simple math of taking an average stock market return and calculate the exponential growth from that misses the fact that annual returns (such as S&P) have large fluctua... |
What is the best method of estimating a ratio of regression coefficients $\beta_1/\beta_2$ under the usual assumptions / in practice? I have two relatively well approximated signals $X_1, X_2$ and they have been multiplied by unknown coefficients $\beta_1, \beta_2$. Then the output has been drenched in other noise sign... |
I have a dataset of Tweets regarding a given topic (extracted by predefined keywords and hashtags). I aggregated the Tweets in bins of time (e.g. every ten minutes) to generate a time series of the activity in the discussion. Based on a filtering process I derived a set of users that is supposedly influential in the gi... |
I came across a problem knowing density of Y, conditional density of Y given X, how would I obtain density of X? Or would this even unique?
|
I want to understand about Bayesian mixture model discussed in RJMCMC paper (Richardson and Green, 1997) (https://academic.oup.com/jrsssb/article/59/4/731/7083042)
I also posted similar question earlier but with not clarifying my point.
Then here is my question regarding that setting.
In the text "In this situation, ... |
I have a time series of Twitter activities (lets call it time series 0) from which I extract two separate time series based on different sets of users (i.e. time series 1 contains the activity of a subset of users and time series 2 contains the activity of the remaining users - see table 1). I want to calculate cross c... |
I am keep studying the RJMCMC and want to ask question regarding the acceptance ratio of split/merge step of RJMCMC
The split/merge step, suggested by Richardson and Green (1997) is following for w_j, μ_j, θ_j for merging and splitting. Source : (https://academic.oup.com/jrsssb/article/59/4/731/7083042)
The acceptanc... |
I'm going through the proof of Proposition 1 in Zhao & Yu, 2006 (https://www.jmlr.org/papers/volume7/zhao06a/zhao06a.pdf), titled On Model Selection Consistency of LASSO. The proof is in Appendix A. Here they claim that, if a solution $\widehat u^n$ exists and the following hold:
$$C_{11}^n (\sqrt{n}\widehat{u}^n(1)) -... |
I am interested in conducting a survey where I show raters a graph then ask for their thoughts. I will do this by providing statement for which the raters will select a value on a 5 point likert scale from strongly disagree to strongly agree based on their interpretations of the graph.
My advisor thinks Cohen's Kappa w... |
Can we interpret the coefficients of an ordinal regression in the coefficients table without involving the intercepts?
For example
library(ordinal)
> head(wine)
response rating temp contact bottle judge
1 36 2 cold no 1 1
2 48 3 cold no 2 1
3 47 3 cold ... |
Let's say I have a mouse performed a task for several runs, and for each run I assigned a score (ordered). I'm interested in the effects of medication (A, B) across runs.
dat.ord <- data.frame(run=rep(seq(1,10,1),times=2), med=rep(c("A","B"),each=10), score=factor(c(0,0,1,0,1,1,2,2,2,2,0,2,1,1,2,1,1,2,1,0), ordered=T)
... |
I am working with multilevel regressions. Do these need control variables? I ask as I am wondering if the independent variables grouping of multi level regressions is enough? In this case, the groups would already be by both Asset Balance Positive and Positive Cash Flow (so each y is already grouped into 1 of 4 possibl... |
I am conducting a 2x2 study with ordinal independent variables. Participants are asked to rate two different instances of the same independent variable condition. For instance, participants in the 'simple source text' group are presented with two distinct 'simple source texts' and are asked to rate both. We retain data... |
The screenshot indicates that the lowest the score/value, the higher the fear level. In this case, a lower mean = higher fear, and higher mean = lower fear. Should it be that, Generation Y is significantly less afraid for fear for health?
|
I am playing around with a classification model, and I would like to know if there are any known methods to achieve what I am looking to do.
The data looks something like this:
Class
id
$x_1$
$x_2$
...
$x_n$
0
1
0
1
0
1
...
1
1
2
1
3
1
0
2
0
2
0
2
...... |
I have a panel dataset (Young Lives Dataset) which follows children from age 8-22 in five different rounds. I am using information about the children's time-use in rounds 2-4, when they are still children, including hours they worked, chores, schooling, sleep, and time studying. Then in round 5 there is data on their e... |
Majority of the examples of multiple regression in practice is written as additive model. Can you give me some practical examples of a multiplicative regression model (i.e. a model that can be fitted using LR after log transforming of both sides)?
y = c * x1^a * x2^b
log(y) = log(c) + a * log(x1) + b * log(x2)
I do not... |
In Support Vector Machines, the distance from the hyperplane to each class of nearest points should have the same length.
Is this correct?
|
I am having difficulties understanding my diagnostic test results for my twoways effects two-step model system GMM, which I performed in R.
The results of my Sargan test (test for overidentification restrictions) are:
Sargan test: chisq(246) = 92.2451 (p-value = 1)
I have a large unbalanced dataset of 40.000 observati... |
I am trying to understand the following statement (Christensen and Brockhoff, 2013):
Cumulative link mixed models is a member of a class of models sometimes referred to as multivariate generalized nonlinear mixed models (Fahrmeir and Tutz, 2001).
I am particularly finding it difficult to understand if cumulative link... |
Consider the following simple linear regression model:
$$ y_i = (-1)^i \cdot \beta_1 + \epsilon_i \quad \text{where} \quad i = 1, \ldots, n $$
here $\epsilon_i$'s are i.i.d. $N(\beta_0, 1) \text{ random variables. If } \beta_0 = 2\beta_1, = \beta, \text{ we need to find } \hat{\beta}, \text{ the maximum likelihood esti... |
I am working with an imbalanced dataset containing 42 variables and around 136,000 observations, in order to perform a binary classification (96% of the observations belong to one class). I tried several approaches and models, but in the end, my classifier is bad (its confusion matrix is heavily pending to the more num... |
I have three study arms on interventions A, B, and C, which are independent of each other. The primary outcome is categorical (positive or negative). The null hypothesis is A = B = C.
From prior studies, the likely proportion of subjects with positive outcomes in arms A, B, and C are 0.8, 0.7, and 0.6, respectively.
Wh... |
GEE is one of the models that used in panel data, one example is
library(glmgee)
data(depression)
glmgee('depressd ~ visit + group', id=subj, family=binomial("logit"), data = depression)
Typically within a cluster the correlation structure is specified by the parameter corstr
However what about correlation between clu... |
We have a probabilistic model with two parameters, $\theta$ and $\eta$, both of which are uniformly distributed between 0 and 1. The model has five possible outcomes, and the probability of each outcome is given by:
$$P(y=i|\theta,\eta) =
\begin{cases}
\theta/4 + 1/8, & i=1 \\
\theta/4, & i=2 \\
\eta/4, & i=3 \\
\eta/... |
As far as I understand, item information tells us how well an item contributes to score estimation precision and it ranges between 0 and 1.
However, in my analysis (see the image), item 15 and item 6 seem to have very high item information values. Does that mean my model overfits the data at hand (30 items, 66 response... |
As a more general follow-up question to Elisa’s post on “[h]ow to interpret regression coefficients” when carrying out a PLS-structural-equation-modeling multigroup analysis (PLS-MGA), when comparing group-specific parameter estimates $\gamma_{.}$, which are (partially)
measurement invariant, for significant difference... |
The following is the first exercice of chapter 5 from the Book 'Bayesian Statistical Modeling with Stan, R and Python' of Kentaro Matsuura, 2023.
I am fitting a bayesian linear model in rstan and I tried to plot the residuals with two different methods but I do not obtain the same result and I do not understand why. Fo... |
I am struggling with a problem: Suppose that I have a binary classification model which is trained on some data and outputs probabilities of classes 0 and 1. I now have a new feature vector, say $\mathbf{x}$, which is continuously getting perturbed by other factors. I have a few valid ways of perturbing $\mathbf{x}$ to... |
I know that the question I am asking has been stated before, but so far I have not found a suitable answer in any of these threads. As I have a very specific use case in mind, maybe someone this might make it easier to suggest an appropriate answer.
Background: I am a biologist researching disease models in mice, so th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.