instruction stringlengths 9 38.7k |
|---|
In the following circumstance, I believe it is valid to use p-values as a measure of effect size: am I wrong?
I have a set of objects which have a single 'observed distance' from a given spatial location.
I have used a Monte-Carlo permutation test to randomise the location of these objects; on each iteration of the t... |
My family is renting out a vacation home and I would like to create a dataset in R to calculate statistics on the bookings (for some helpful insights and also for me to practice R).
I have a question now on how to create that dataset. Right now the booking data is stored in an excel file and the x axis (columns names) ... |
I'm running a study which is is investigating how different types of smiles (two levels) are processed in different situational contexts (three levels).
I currently have a robust linear mixed model, with random intercepts and random slopes for both the participant and identity (i.e. the actor expressing the smile) as s... |
I fit a regression model on a data set and get some in-sample RMSE. I wanted to know, how likely is that I get this good RMSE (or even better) under assumptions that there are no patterns in the data.
To answer this question, I take my real targets, resample from them, and replace the real targets by "fake" targets. By... |
I am currently trying to compare the complexity of models. Among the models I have are some trees. The trees are not parametric models, hence they don't have the notion of 'trainable parameters' that are used in information criterion (AIC / BIC). I was wondering if there is a way to compare the complexity of trees to m... |
I am trying to see how IV performs with Monte Carlo Simulations. My model is:
$y = X \beta + p \alpha + \xi + \epsilon $. In this model $ \xi $ is not observed and $p$ is correlated with $\xi$. So I use an instrumental variable $z$ which is correlated with $p$ but is not correlated with $\xi + \epsilon$. However, for $... |
I am running a Cox regression for a large (100k) dataset with 135 variables after dummy encoding.
Most of the coefficients are reasonable and the confidence intervals are not large. However, for one covariate, the confidence interval is enormous (0.1-80). For reference, the next largest upper bound is 6. I've checked t... |
I have a dataset on unemployed individuals enrolled in a job training program where I am trying to predict whether 6 months post-enrolment they 1) gain employment, 2) stay unemployed, or 3) drop out of the workforce.
Based on my understanding of this guide, I should focus on the recall or sensitivity rate if my goal is... |
I have a categorical predictor (segment) and continuous DV (income). 'segment' is a factor with 6 levels. I ran a simple regression in R and got the following results:
Deviance Residuals:
Min 1Q Median 3Q Max
-79243 -39259 -22638 5235 730633
Coefficients:
Estimate Std. Error ... |
Apologies if I mess something up, I've only used Cox PH once and am only starting with deep learning!
In my project, I'm trying to estimate the best interval for screening patients for some complications of diabetes. Currently they are all supposed to visit the clinic every year- but this may not be adequate for all.
I... |
Kernel PCA is usually done via eigenvalue decomposition of the Kernel Matrix $\mathbf{K}$ and standard PCA via SVD of the input $\mathbf{X}$.
In standard PCA as far as I know we can derive $\mathbf{S}$ and $\mathbf{U}$ via two eigenvalue decompositions, of the Gram and Covariance/Correlation matrices:
$$
\begin{array}... |
I'm trying to figure out how stationarity can be useful when analysing time series data and I can't find any satisfying explanations online.
I understand that since the mean and variance are constant it helps out a lot for the various models you can apply to the data but at a conceptual level, I have formed an explanat... |
I have a data set with baseline and t1 values in an RCT. Is a Jump to Reference (J2R) imputation possible here? The implementations I have found so far all require t2 values next to t1, which I do not have in this case. J2R seams to be preferred by the drug approval authority.
|
Once you learned your forecasting model, it is necessary to check if the residuals are a white noise: the mean is zero and no autorrelation. If the residuals have mean m, the rule is to add m to all forecasts and the bias problem is solved. Can someone explain to me this rule?
Thanks
|
I'm currently trying to figure out which statistical test to use for my count data, and I'm a little confused on how to go about it. The data that I'm working with consists of number of camera trap detections for five different species at three different heights over a period of one week. Camera location and orientatio... |
In https://www.statisticshowto.com/fisher-z/, it is stated that “But it’s probably most commonly be used to test the significance of the difference between two correlation coefficients, r1 and r2 from independent samples. If r1 is larger than r2, the z-value will be positive; If r1 is smaller than r2, the z-value will ... |
I am reviewing a friend's paper, and they are throwing out variables that are below a certain correlation coefficient value before doing a multiple linear regression model.
Is this a wise thing to do? They are investigating transformations of variables as well, and I feel like a variable that is not linearly correlated... |
For thousands of item, I have observations about their state (a letter) for 9 timestep.
From that, I build a transition matrix (RotationMatrix by couting their occurence) and used the markovchain package in R to build a chain, then simulate a sequence of "observation" from it, then fitting a new chain onto the sequenc... |
Assume
1 month = 4 weeks
Variance = VARP function of Google Sheet = $\Sigma^{n}_{i=1}(x_i - \mu)^2 / n$
I have sample data, the number of items sold on a specific week and in a specific month.
The data of Month 1 is the sum of the data of Week 1-4, Month 2 = Sum of Week 5-8 and Month 3 = Sum of Week 9-12.
If I calcul... |
I have a dataset that looks like this:
initial
final
division
fsa
hrs_prev
fsa/hrs_prev
2020-01
2020-06
A
0
168
0
2020-01
2020-06
B
14,29
177,45
2020-02
2020-07
A
9,52
177,45
0,054
and so on
Initial and final refers to an interval of six months. There are such intervals for division A and B throught 2... |
My question is straightforward: Do you need to check for stationarity (and correct for non-stationarity, if it is the case) before using a function like auto.arima() (R) o auto_arima() (Python)?
I know that, to work with ARIMA models, your series should be stationary. But a function like auto.arima internally check for... |
I have 5 events, A through E, with individual probabilities:
P(A) = 0.12
P(B) = 0.05
P(C) = 0.11
P(D) = 0.12
P(E) = 0.60
After 25 trials here were the results:
A = 1 success
B = 3 successes
C = 4 successes
D = 2 successes
E = 15 successes
What is the combined probability that the results would turn out the way they did... |
I have a dataset which looks like the following:
Value A
Value B
1.2
100
1.3
200
1.4
300
1.1
433
1.3
320
1.2
210
1.5
108
I want to test the following hypothesis:
*If I take an n-dimensional sample, and I rank the elements of the sample according to "Value B", the average of "Value A" in the top ... |
Suppose I want to conduct a trial with two treatment arms in each of which there are 50 patients. The patients in both arms are iid sample from sick population. I would like to compare treatment outcome of the two. Assume that there is only 1 person carrying out the experiments for both arms. Since patients are not rec... |
Let say I have a multivariate random variable $x$ with dimension $s$ which is symmetric at 0 and not necessarily be a multivariate normal distribution. Then what is the variance of $Ax$, where $A$ is a full-rank square matrix with dimension $s$? Is it $AxA'$?
|
Good evening everyone.
Regarding the topic related to Sparse Clustering (for example K-Means).
For example, in "Witten DM, Tibshirani R. A framework for feature selection in clustering" the authors say
"In Figure 2, we apply this method to a simple example with 6 equally-sized classes, where n = 120, p = 2000, and 200 ... |
I need to understand how a GARCH-X model (GARCH with explanatory variable) works.
What I've understood so far is:
we have a simple GARCH(1,1) model:
If I add to the conditional variance equation an explanatory variable (i.e an index that captures the change in people concerns about climate change) the only thing that... |
I fitted a quadratic model on my data and got the following output:
The Pr (>|t|) values were not significant (p<0.05) but the overall p-value of the model was. Is my model significant or not?
|
I need to simulate from a VECM in Python. My VECM doesn't have constants nor linear trends (this holds true for both inside and outside the cointegration matrix). However, the statsmodels VECM doesn't have a simulate_vecm() method. On the contrary, the Vector Autoregressions (VAR) has a simulate_var() method. By inspec... |
I have a dataset with labels that I'm using to explore unsupervised learning (IsolationForest) with. IsolationForest has a few hyperparameters, and some can be heuristically determined like maybe you know the rough contamination rate, but other variables can't be tuned without labels.
When I've seen people discuss this... |
i'm trying to compare the coefficients for the same linear mixed model in lme4 vs nlme, see this example using the penguins dataset.
I can't work out why they are different? why is the intercept the same across the 3 groups when using nlme?
library(tidyverse)
library(palmerpenguins)
library(lme4)
library(nlme)
db <- p... |
This is a follow up from this question.
Consider a model of diseases and symptoms. $s_i\in\{0,1\}$ is a binary random variable indicating whether the patient is showing the $i$-th symptom and $d_j\in \{0,1\}$ is a binary random variable indicating whether the patient has $j$-th disease. A model for this is given by $$... |
So given the standard objective in matrix factorization for collaborative filtering of minimizing:
$$
L = \sum_{u,i \in S} (r_{ui}-q_i^Tp_u)^2 + \lambda(\sum_i||q_i^2||+\sum_u||p_u^2||)
$$
, where $r_{ui}$ is the rating by user $u$ on movie $i$, $p_u$ is the $u$th row of user embedding matrix $P$ and $q_i$ is the $i$th... |
I have a LSTM model that has good training accuracy(~90%) and excellent validation accuracy(> 95%) but it gives poor results when I test it on data it hasn't seen. I am training hyperparameters using my validation set.
I don't imagine it is an overfitting problem because in that case my validation loss would be high bu... |
Cheng and Amin (1983) proposed the maximum product of spacing estimation method as an alternative to maximum likelihood estimation. They stated that MPS behaves better in small sample cases than MLE and gives consistent estimators where MLE fails (Eg. J shaped distribution). In addition, MPS follows the same asymptotic... |
Is the wave-function defined below related to a bernoulli or binomial distribution in any way?
The probability that its position $x$ will be in the interval $a \leq x \leq b$ is the integral of the density over this interval:
$$
P_{a \leq x \leq b}(t)=\int_{a}^{b}|\Psi(x, t)|^{2} d x
$$
where $t$ is the time at which ... |
Let
$$X_t = 0.9 \, X_{t-1} + \eta_t, \quad \eta_t \,\, \hbox{i.i.d.} \sim N(0,1)$$
Indeed, I want to show that a fixed realization $(\bar{X}_t)$ satisfies
\begin{equation}\tag{I}
\lim_{n \to \infty} \max_{1\leq t \leq n} |\bar{X}_{t}|=0
\end{equation}
Although it is a fixed realization, I don't know if it is feasib... |
I am looking for any recommendations on resources to learn more about bootstrapping from a theoretical and rigorous perspective in terms of bounds/guarantees/etc. Any books or papers would be very much appreciated!
|
I am using lmer in lme4 to do linear mixed modeling. I have simplified my model to just one fixed effect and one random effect to isolate the problem. I have a continuous DV (score), a dichotomous fixed effect (treatment), and a random variable (person). Each person took up to 12 tests over the course of 4 years, the u... |
Hi if I have lots of response variables that I want to use in a linear mixed effect model, do I have to run those separately by each response variable or is there a different model I should be using?
|
I have 10 datasets(csv) with 52 variables. Each dataset is an experiment.
I have 1 dataset(csv) with the same 52 variables in the control dataset.
What I am trying to prove is that:
All the 10 datasets are different from the control dataset. The problem is that some variables are hugely effected by the experiment. Som... |
I have a three-year univariate time series dataset with weekly data entries. I have split the series into a training set (2 years of data) and a testing set (data from the final year). I have trained and optimised a random forest regressor model. Please note that I have used lags during the model. I now want to forecas... |
According to the perplexity' score, optimal number of topics for my dataset is 100. Once I run my LDA algorithm, I'd like to input those topics into an OLS but 100 independent variables is too much. My idea was to summarize them using a PCA (or t-sne) but i'm not so sure if I can given LDA is already a dimension reduct... |
Suppose that we have three random variables, $V_1,\;V_2,\;V_3$.
I derived an equivalence statement through a pretty long derivation:
$$\mathbb{E}[V_1|V_2=v_2,\;c>V_3]=\mathbb{E}\left[\;\mathbb{E}\{V_1|V_2=v_2,V_3\}\;|\;V_2=v_2,\;c>V_3\right]$$
I guess, it is a kind of LIE (law of iterated expectation).
Does the stateme... |
Given normally-distributed (possibly dependent) random variables $X_1 \dots X_n$, their mean $X=\frac{1}{n} \sum_iX_i$, and another discrete r.v. $Y$, can we relate $MI(X,Y)$ with the individual $MI(X_1, Y)\dots MI(X_n, Y)$? I'm also interested in lower/upper bounds if no exact expression exists.
Thanks!
|
Given a causal diagram and the conditional probabilities for every adjacent node, I want to calculate a specific probability in two ways - let's call them the "simple" and "alternate" decompositions - but the reconciliation fails.
Can you help me identify if there's an error in the simple decomp and/or how to get the s... |
Consider a positive-definite, symmetric function $k(x_1, x_2)$ which is used, given the dataset $\{(x_i, y_i)\}_{i=1}^m$, to construct the Gram matrix $K = [k(x_i, x_j)]_{i,j \in 1, ..., m}$.
What is the relation between generalization bounds of Kernel Ridge Regression using $K$ to solve the supervised learning problem... |
I have three questions for you regarding the prediction of panel data.
There is a function predict.plm() in the plm package for R. As far as I have seen, this can only be used for Fixed Effects Models. The reason for this is that only the effects in the case of these models can be estimated. The effects for Random Effe... |
Consider two probability distributions P and Q defined on the same probability space X. Does the following similarity measure have a name?
Context: I "invented" this formula to compare binding-sequence statistics of proteins and would like to check the validity of this approach and read up on alternatives.
|
Let's say it is info (2 factors), time (2 factors), and a group ( athletes or no). The three-way interaction is not significant but the info X group is significant. What t-test should I do paired or independent?
|
In the paper Ivan Markovsky, Sabine Van Huffel - Overview of Total Least Squares Methods, at the top of the sixth page, it is claimed that the estimate of $\beta$ in the total least squares model $y \approx A\beta$ is
$$
{(A^TA - \sigma^2I)}^{-1}A^Ty
$$
where $\sigma$ is the smaller singular value of $(A\quad y)$. Appl... |
I am trying to work out how best to specify a random-effects structure for a mixed effects model. My experiment had 85 participants, who each completed 96 trials of a task. From observing the data, I can see clear differences across participants (presumably due to latent individual differences) AND differences that are... |
I am currently running an analysis withh a fixed effects regression on whether name similarities between investor and leadership of invested company has an impact on the weight that investors place on these companies in a given time period. The regression design looks like this:
$$y_{i,j,t} = \alpha + \beta_1 * SameNam... |
Let X and Y be independent and identical exponential random variables with parameter $\theta>0$. Compute $P[X \leq x | X+Y]$ for $x\geq0$.
I tried to solve this theoretically here (https://math.stackexchange.com/questions/4508874/conditional-distribution-function-of-one-random-variable-given-the-sum-of-two) and I wante... |
Suppose I have a hypothetical coin flip experiment where the probability $p$ of getting head in a single throw is unknown and can be anywhere such that $0 < p < 1$. I do have a random sample with $n$ flips and $x$ successes (heads). Flips are known to be independent of each other and the sample is assumed to be free of... |
How to interpret the Cointegration result?
|
I have Likert scale responses (DV) from a survey rating 10 voices on 10 personality traits. I need to run a regression model in R to look at the effect of accent and some other participant demographic data (all categorical, one ordinal) on these Likert responses.
I initially used clmm() from package ordinal to run a mo... |
Say I have a long time series of values in the form of 0 or 1 which I believe to be outcomes of a binomial distribution, but where the probability of success $p$ can change (but is expected to change gradually) over time. For example we might have 10,000 outcomes where at the start $p$ was equal to 0.3, and at the end ... |
I have to calculate the minimum sample size for a proportion estimate required in order to meet a criterium on the standard error of this kind:
$$
\text{SE}_P = \sqrt{\frac{P(1-P)}{n}} \sqrt\frac{N-n}{N-1} \lt \text{SE}_\text{req}
$$
Where $\text{SE}_\text{req}$ is a constant (calculated by a formula).
However, the po... |
I would like to know if there is a method of splitting that is not random but based on the distribution of the train and test data samples feauture values.
Currently I am splitting randomly but stratified with sklearns train_test_split function and there are huge differences in in my AUCs based on the random state give... |
I am currently working on MLP-based recommendation system.
During training, the model updates based on BCE loss function with train set, then shows the hit rate (rate of how ground truth item is in top k recommendation from the model for a given user) on val set. What I found intriguing is that the hit rate curve shows... |
One of my main predictors violates the PH assumption. I've been reading different ways to deal with this for a while and have decided on an interaction with time after making a person-period file (using something like the unfold function, so a separate line for each individual for each at-risk time), as suggested by ot... |
I am working on a two-dimensional grid representing some physical properties at given spatial intervals.
Let's say that I know there is a Gaussian distribution for $P(X=x \mid A=a)$, the probability of landing a dart at $x$ given that I am actually aiming at $a$. I happen to know there is no covariance between the hori... |
I am reading Tutz & Schmid "Modeling Discrete Time-to-Event Data" (2016) chapter 4 Evaluation and Model Choice section 4.2 Residuals and Goodness-of-Fit. I got stuck on p. 78:
The first hurdle is the third paragraph (In discrete survival one considers...). What is a response? How come a single person $i$ generates a $... |
So I'm using survival analysis to help identify customers at risk of churning. As of now, I've been using a hugely imbalanced dataset that consists of 99.5% of customers in the majority class (i.e. not churned) and 0.5% churned. To improve my model I've randomly undersampled the majority class such that the ratio betwe... |
Briefly the Approximate Bayesian Computation instead of using the exact likelihood function $L(\theta;x)$ tries to approximate this function with the use of the observed summary statistics $s(x_{obs})$ of the data $x$.
The posterior distribution for the parameter $\theta$ can be defined in the following way
$$p_{\epsil... |
I have some nonlinear data (let's say x's and y's) that I would like to perform regression on, and I would like to focus on having the error lower on regions where the graph is more sloped, rather than the areas where the graph is flat, since that area will generally converge to a single value.
Currently, I am using me... |
I have a system of Codes which is updated every year, so some codes are deleted and some new codes are added. So here we have 4 versions of this system.
Now, I received a list which contains some of these codes but do not know which version of the system this whole list belongs to.
For example:
system_2015: 102034,4050... |
I have a variable showing "how long time takes to stand up from a chair 5 times in a row as quickly as possible" as response (measured in second) and a binary variable showing cancer or not as covariate. I want to know which regression is correct to be used for this case.
|
I have a dataset that is massively right-skewed.
I want to flag datapoints that are >=3 standard deviations from the mean for further investigation.
Is this a valid way of doing things considering my data is right skewed, and not normal?
I don't need to know the proportion of data that has a z-score of >=3, I just need... |
I would like to calculate average marginal effects for a Tobit regression in R.
margEff.censReg can calculate marginal effects at the mean, but not average marginal effects (the mean over marginal effects over all observations)
The margins package can calculate average marginal effects e.g. for a linear model, but does... |
I'm currently playing around with BNLearn on Python, and creating BN's from Pandas datasets. I'm not really sure why/how the package decides on the structure of the BNs it creates; see for example this BN generated from the Titanic dataset:
I got the above from an example on Kaggle, with the relevant code being
# Stru... |
Note: I have already seen this Wikipedia article, and similar questions on this website: 1.
Given two dependent multivariate Gaussian random variables, is the sum also a multivariate Gaussian?
$X \sim N(b_X,\Sigma_X), Y \sim N(b_Y,\Sigma_Y)$
$X = A_X w_1 + b_X$
$Y = A_Y w_2 + b_Y$
where $A_X$ and $A_Y$ have dimensions ... |
I have to determine what are the likelyhoods of four points being associated with four different distributions.
Knowing that they can only be part of one and only one distribution at the given time.
I have these four distributions, of an image being rotated up, left, right, down.
Here is their histogram :
They have b... |
I'm trying to better understand what the 95% confidence interval is supposed to cover (in the context of a two-sample t-test). I had always been under the impression that the 95% confidence interval meant that 95% of the time, the confidence interval would contain the true average treatment effect (ATE). However, it ... |
Wondering if my method here for coding qualitative research data is valid.
My raw data looks like this:
Contains apples
Contains bananas
Contains pears
Cart 1
x
Cart 2
x
Cart 3
x
x
Cart 4
x
x
I then added another column for shopping carts with more than 1 type of fruit:
Contains apples
Con... |
I'm trying to impute some missing values on my dataset $X$. So first I shuffle and split data to obatin the train set X_train and the test set X_test.
X_train, X_test, y_train, y_test = train_test_split(X, y, stratify = y, shuffle = True, test_size = 0.25)
Then I am imputing values using missForest algorithm, but only... |
I have a sample of ~3,000 star systems, and I've found the distribution of a particular parameter. I'd like to find the standard deviation of this distribution, and so I've used the standard deviation equation I'm familiar with:
$\sigma = \sqrt{\frac{1}{N - 1}\sum_{n = 0}^{N}{(x_n^2 - \bar{x}^2)}}\tag{1}$
However, the... |
Background
I am a statistics intern (not assigned a supervisor yet) in a medical research institute. I’m exploring methods for network analysis in the context of multi-omics data, focused on microbial abundances and metabolite data. Currently, I am experimenting with Gaussian Graphical Model-based methods that would ac... |
I have a dependent variable associated with a SE and an independent variable associated with a SE. I would like to weight my regression such that both of these SEs are taken into account. What is the most kosher way for me to create this weight? Thank you for any help.
The dependent variable is effect sizes (measured a... |
I am somewhat confused about how best to interpret the results of my logistic mixed effects model.
I have two variables, confidence (continuous, 0-100) and meta-d', which can range from -0.5-2. From these two variables, I am trying to predict a binary variable, information seeking), whilst controlling for the effect of... |
I want to perform a OLS regression analysis on some venue hire data (to get cost of venue hire). I have many categorical variables and some of them have correlated / duplicated information e.g. An example is one category called 'External_Hire' that defines whether you can hire external caterers for the venue. It has th... |
The wavelet phase difference between two signals $x(t)$ and $y(t)$ is derived using the real and the imaginary part of cross wavelet transform $W_{x,y}$. (Let us consider e.g. the Morlet wavelet as mother wavelet.) More in details, the wavelet phase difference is defined as follows
$$
\theta_{x, y}=\arctan \left(\frac{... |
The research paper I am putting the link to and many others when using MCA to formulate socioeconomic scores, they tend to use only two dimensions eventhough most of the variance is not represented by these two dimensions. why? is it because it is easier to group the variables into socioeconomic groups when using two d... |
I'm trying to fit a quantile regression model to my input data. I would like to use sklearn, but I am getting a memory allocation error when I try to fit the model. The same data with the statsmodels equivalent function is working fine.
The error I get is the following:
numpy.core._exceptions._ArrayMemoryError: Unable ... |
I'm fairly new to statistics and want to perform a statistical analysis (calculation of p value)
for data I collected, but I'm unsure if I'm doing it correctly and would like some feedback/help.
I have 180 ratings from 1 to 10 for two categories, so 90 ratings per category.
This is the distribution of answers for the c... |
I have a longitudinal data, with different follow-up number for individuals. I have considered measurements for each individual as a curve which I already smoothed them, then calculated the area under curve and divided by the interval length to find the average of the curve over a year. My aim is to see if the area is ... |
So I have longitudinal data with a binary target variable, and I'd like to perform binary classification using a random forest, xgboost, and glmnet (ridge/lasso/elastic net) model. Is this possible to do in r? I've skimmed a few articles where some algorithms are being developed but I've yet to see them fully published... |
I am currently implementing double sampling. The goal is to accept or reject a lot by only sampling a few instances from it. In a two-stage testing procedure (double sampling) one first draws a sample of size $n_1$ and compares the number $K_1$ of
items “of interest” (e.g., “non compliant”) with two integers: $c_1$,
$... |
I am currently analyzing data from an RCT. The primary findings from the RCT have been published and we are now examining the data further. In brief, the RCT examined the effectiveness of a new behavioral treatment compared to another empirically supported treatment and a wait-list control group. The initial study foun... |
I have a covariate with time-varying coefficient with two categories (lets call it T), which I have modeled using the Royston-Parmar model from flexsurv package as following.
fit <- flexsurv::flexsurvspline(Surv(time, event) ~ T+gamma1(T)+A+B,data=data,k=1,scale="hazard")
where A and B are other covariates. I know tha... |
I'm working on the logistic regression with interaction term between gender and education years as below. gender is a factor varibale with two value and eduyears2 is a numeric variable. and the depedndent variable is a dummy variable indicating if people have a job. How can I plot a line to visuallise the effects of ed... |
I am doing some work that requires some estimates of gasoline oil demand elasticity on certain countries. After doing various econometric measures such as instrumental variable, I was able to get reasonable estimate of demand elasticity for most countries, but only for some special ones (mostly in Europe), the values a... |
Summary
I am curious about whether there exists theoretical justification to say a linear combination of a sufficiently large number of independent (but not identically distributed) Bernoulli random variables is asymptotically normally distributed.
I know that the sum of i.i.d. Bernoulli's (i.e.,a binomial) approaches ... |
I have several GAM models fit with package mgcv that share the same smooths and random effects groups. I would like to compare support for whether interactions between the fixed effects are supported using AIC.
My understanding is that we should use maximum likelihood rather than REML to compare between models differin... |
I would like to perform an error-in-variables random effects (DerSimonian and Laird method) meta-regression, but I do not know how one goes about doing this. Does anyone have any advice on if this is possible in SPSS or Stata?
To put the relevant data simply: I have a dependent variable composed of effect sizes and ass... |
I have access to samples of some distribution with second-moment matrix $\Sigma=E[xx^T]$ and need an estimate of $\|\Sigma\|_F^2$ (which can be used to set optimal size for LMS)
We can use Frobenius norm of sample second-moment matrix $\hat{\Sigma}$ below, but this gives a biased estimator for small $B$
$$\left\|\hat{\... |
I would like to test if two groups of participants (dark-eyed and light-eyed individuals) respond to a drug differently over time. The hypothesis is that the drug reaches its peak effects sooner but diminishes quicker in light-eyed individuals. Specifically, the following hypotheses will be tested:
light-eyed individ... |
I already read the q/a's from here and here. These answers are quite a bit complicated for me. I need something easy to understand and explain to any interviewer. I read lots of articles like;
What is the difference between estimation, extrapolation, prediction, and forecasting?
Prediction vs Forecasting
What is an Est... |
No matter what model I fit in lmer, it seems like simr never gives an accurate read of what the data is doing. For example, the effect sizes in the iris dataset are quite strong, so you would expect it to have higher power even with only 150 observations. However, when I run this model:
iris.lmer <- lmer(Petal.Length ~... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.