instruction stringlengths 9 38.7k |
|---|
What do you do when bootstrapping and the sample for one iteration is "bad" in some way that makes your statistic uncomputable.
For example suppose your statistic was the best fit linear slope for a data set of points $(x_i,y_i)$, but your boot strap sample picked points all at the same $x$ coordinate (or even just pic... |
Given a multivariate Gaussian distribution $\mathcal{N}(\mu, \Sigma)$ where $\mu$ is a real vector and $\Sigma$ an associated covariance matrix, I am looking for a good notion of width. There seem to be two options.
Trace-based widths:
The trace of the covariance matrix is the sum of its eigenvalues. The square root ... |
I am working on determining if there is an association between a medication (yes/no) and a health outcome (yes/no).
However, the lines between what is a confounding variable to include in the model, and what is a known risk factor that should dictate who is included or excluded from the study cohort, are becoming blurr... |
I have a model m which takes as input a starting array of n_input elements which are actually traces of mining processes and outputs an array of n_pred predictions along with their probabilities . This works iteratively, and so the model would use these predictions one after the other and append it to the input to use ... |
Given that the Kruskal-Wallis $H$-test has been computed, the epsilon-squared estimate of effect size can be calculated as
$$E_R^2=\frac{H}{(n^2 - 1)/(n+1)},$$
the number of the compared groups, the significance level, and the number of observations are known, how to compute the statistical power of this nonparametric ... |
I investigating how vision (amongst other outcomes) changes over time, assessed at time 0, week 12 and week 24 in an observational cohort, and wanted to obtain the mean change values at each time point, with p-values comparing the change from baseline. There's no missing data at baseline. I am thinking of fitting some ... |
I feel like this question is mostly about how to translate vague documentation into math than a statistics question per se, but please bear with me.
I am reading the Canadian Institute for Health Information
's (CIHI) Cardiac Care Quality Indicators: General Methodology Notes 2020. On page 8 they have the formula
$$\te... |
In the popular textbook Mathematics for Machine Learning, creating a SVM requires solving:
$\text{min}_{w,b} \dfrac{1}{2}\|w\|^2$
subject to $y_n (w^T x_n + b) \geq 1$, for all $n = 1, \ldots, N$
Ok, then let $(x_n, y_n) = ((1, 0), +1), ((0, -1), -1)$
This is an extremely simple dataset to classify. The classifier is:... |
When calculating the $R^2$ value for the coefficient of determination of a linear regression model, it is well known (Wikipedia) that
$SS_{Total} = SS_{Explained} + SS_{Residual}$ (1)
i.e.,
$\sum_{i=1}^n (y_i - \bar{y})^2 = \sum_{i=1}^n (\hat{y_i} - \bar{y})^2 + \sum_{i=1}^n (y_i - \hat{y_i})^2$
and $R^2 = 1 - \frac{SS... |
As we go through life, we see fewer and fewer things for the first time. As time goes on, the events we encounter more often resemble events we've come across before.
Picture a world where we somehow know the Zipf-like probability distribution of all events. As in, if the slice labelled "sun rising" in this distribut... |
I have this SPSS output and I'm wondering how I report variance for the model.
Additionally, how much of the variance was explained by exercise both directly and indirectly (through both mediators) in happiness?
Thank you in advance!
Y : Happiness
X : Exercise
M1 : Relatedness
M2 : Competence
OUTCOME VARIABLE:
Re... |
When I study the textbook Statistical Inference by Casella and Berger, I have often seen expressions in the form of P(an equation) = 1. However, some other textbooks or lecture notes will instead say "The equation". For example, in the definition of Jensen's inequality: But you may find other books saying g(X) = a+ bX ... |
Suppose that we have a discrete random variable $D$ with the support $\mathcal{S}_0=\left\{ d_1,\ldots,d_{20}\right\}$.
In addition, consider a subset of the support like $\mathcal{S}_1=\left\{d_1,\ldots,d_{10}\right\} \subset \mathcal{S}_0$.
Lastly, we have two continuous random variables $X$ and $Y$.
Here, I have two... |
I am reading From RankNet to LambdaRank to LambdaMART: An Overview. Section 4.1 describes LabdaRank. The last paragraph on page 8 and first paragraph of page 9 describe how the score ($s_i$) of each document/URL($u_i$) changed. The example assumes that $U_i$ is more relevant than $U_j$. According to me, this should res... |
Can someone explain to me the procedure of computing the M step of the EM algorithm for a distribution that belongs to a regular exponential family? If I had a set of steps to follow I think I would understand it better.
|
Is it possible to compare two p-values? Suppose for a test with significance level 0.05, I get p = 0.06, and for another test with similar data, I get p = 0.20. What can I say if I want to make comments about these two values other than hypothesis acceptance or rejection?
|
I have the following data structure: 100 individuals (forecasters) predicted the likelihood of the outcomes of 50 events (binary outcomes, 1 or 0). For each event, each forecaster made two different predictions for the same outcome. The two predictions differ in how the forecasters were asked to compute the likelihood ... |
I have a 258*14 dataset, I want to compare the latent factor structure of two sub-groups from this dataset (group1= 146, group2= 112). I started by performing an EFA (using ML and Promax rotation) on the complete dataset, I got a three-factorial solution that is interpretable and has good internal consistency(>0.9). CF... |
The data I have is longitudinal with two survey rounds. So I have a two-year panel. In the empirical set up I have employed individual fixed effects. Is it wrong to employ district-by-survey fixed effects as well in the model?
My research aims to find the labour market implications on a household member upon the death ... |
In statistics/analytics, let's say we have a time series of data points, i.e., pairs of timestamps and values:
t: 0
y: 42
t: 1
y: 32
t: 2
y: 29
t: 7
y: 0
As for terminology, I would probably refer to these items as samples (or, well, data points).
But when referring to aggregated data, such as this:
t_start: 0
t_en... |
Suppose we have seven colors, each associated with a theoretical probability to choose one of them. The probabilities are as follows:
red ______ 0.304761904761905
blue _____ 0.304761904761905
yellow ___ 0.304761904761905
green ____ 0.021428571428571
purple ___ 0.021428571428571
cyan _____ 0.021428571428571
magent... |
I'm trying to model a subset of the MALD dataset (language related) using Gaussian Distribution.
MALD: https://link.springer.com/article/10.3758/s13428-018-1056-1
One of the variables I'm working with is 'Number of Phones' (NumPhones in MALD) in a given word or pseudoword (Item in MALD) and I'm trying to explore two th... |
For example, the equal weight mixture of $p,q$ is $0.5p+0.5q$
Let $\Delta$ denote the convex hull. CASE1: The equal-weight mixture of the infinite set $\Delta(p,q)$ should be also $0.5p+0.5q$
CASE2: The equal-weight mixture of the infinite set $\Delta(p,q,r)$ should intuitively be $1/3p+1/3q+1/3r$.
However, on the same... |
I have a dataset with one independent variable and a corresponding label. For example, let's assume we have the amount of hours studied for a test as our x variable and the grade of the test afterwards with 0 = "Bad", 1 = "Medium" and 2 = "Good" as the y variable.
Made up example data and code in Python:
x = [0, 2, 3,... |
For $i = 1, \ldots, m$ and $j = 1, \ldots , n$ we have observations $x_{ij}$. We can assume that
$$
x_{ij} = y_{i} + z_{ij}, \qquad y_{i} \sim \mathcal{N}(\mu_{y},\sigma_{y}^{2}), \quad z_{ij} \sim \mathcal{N}(0,\sigma_{z}^{2}).
$$
If necessary, we can also assume that $y_{i}$ and $z_{ij}$ are independent (but if this ... |
Given the $X{\sim}\mathsf{LogNorm}(\mu,\sigma)$ (or any other well-defined non-symmetric distribution), how one would sample two values, such as the first value $X_1$ is sampled from the $X$ and the $X_2$ is sampled from some sort of a mixed/composition distribution which 1) decreases when moving from $X_1$ (so $X_1$ i... |
I am new to ML and I am learning the different algorithms one can use to perform regression. Keep in mind that I have a strong mathematical background, but I am new in the ML field.
So I understand the math behind Support Vector Regression and behind Linear Regression. Now I just want to understand when is it best to u... |
I am using a proportional hazards Cox model to predict the survival probability of some mechanical components. I am using a combined L1-L2 penalization, and I want to optimize the (integrated) Brier score, mostly because I would like to obtain the best probabilities, not so much the raking or ordering, which would impl... |
I am developing sampling procedures for different kinds of discrete objects (rankings, sets, etc.). In most cases I know the theoretical distribution of the objects I'm sampling. My idea is thus to validate my samplers by using some statistical tests.
The most obvious idea would be to use a chi-square test as I'm deali... |
I am wondering if attention weights in BERT language model layers ( which ,in essence, are softmax probability distribution) can be approximated with beta distribution? With approximated beta distribution, I hoped to extract the meaning of alpha and beta, like how strongly the model pays attention to some tokens. Is it... |
I am reading Taleb "Fooled By Randomness", and the author says that a 15% return with 10% volatility translates to 93% success in a year and 50.02% success in any given second.
Could someone help me understand this calculation?
|
I am looking over a paper that derives the g-formula. The setting is the following: two treatments $A_0, A_1$ and a sole covariate $Z$
The assumptions are:
Counterfactual consistency: $E[Y|A_0=a_0,A_1=a_1]=E[Y^{a_0,a_1}|A_0=a_0,A_1=a_1]$
Sequential conditional exchangeability: $E[Y^{a_0,a_1}|A_0,A_1,Z]=E[Y^{a_0,a_1}|... |
how can i test for differences in pretest and posttest of anxiety and aggressive behavior in regards to the experimental group only? noting that i have already conducted a MANOVA and found statistical significant differences between experimental and control groups on the posttest results of both anxiety and aggressive ... |
I get why sufficient statistics are named "sufficient", but what about "complete" statistics?
I have this definition from F.J. Samaniego, Stochastic Modelling and Statistical Mathematics, 2014: a sufficient statistic $T$ is complete if for all function $g$ such that $\mathbb{E}(g(T)) = 0$, we have $g(t) = 0$ for all $t... |
I have a paradigm where participants complete a reaction time task with three different stimulus 'Conditions'. I generate two contrasts for my mixed model. I produced the plots below to assess the normality of random effects. The random effect that is assessed here is (Condition|participant).
Can someone explain what ... |
Learning to do Linear Discriminant Analysis with sklearn, and a bit confused about the scalings_ attribute of the fitted model. The LDA classifier can be written as
$$\delta_k(x)=x^{T}\Sigma^{-1} \mu_k + C_k,$$
with $C_k$ a constant not dependent on $x$. The documentation says the scalings are the linear combinations o... |
I'm working with data of trips per tour, with tours as various trips that a person makes consecutively. I'm trying to model this with count models. My dependent variable is Number of trips per tour, and the independent variables are characteristics of the person who is making de tour (Age, Sex, etc.), or characteristic... |
Thank you for such a great website for statistics learners, I am currently studying a factorial ANCOVA and have two questions:
do we need to test homogeneity of regression slopes for an interaction effect? I feel that the answer is yes, but a bit doubting. What I mean is let's assume I have two independent variables, ... |
I'm working with a dataset (my_dataset) that comprises six groups of individuals (Team_ID) with a dependent variable Score representing the group's performance score (ranging between 0 and 1). The dataset includes various individual-level characteristics such as demographic information, education, employment status, an... |
I am trying to predict ambulance demand for the next hour, for a city area in the USA, based on previous demand, weather, large people gatherings, and similar spatio-temporal factors - using Machine Learning.
I modelled the problem by binning time into 1-hour bins, as those short time horizon predictions should provide... |
I am fitting a GAMM using mgcv. I have two variables, one a categorical 2-level variable difference, the other a continuous variable Learning_stage. I would like by participant random effects for difference, specificly random slopes and intercepts. A stackoverflow link had an answer saying that factor variables with bs... |
Is it correct to measure the correlation coefficient between a continuous variable and a discrete variable? I visualized it and there is definitely no linear relationship the way I see it that is why I decided that it was not possible to calculate the correlation coefficient for it. These are the two variables I am wor... |
I want to see if a treatment brings patients closer to controls using multiple dependent variables. Can I do kmeans and see if the controls are separate from the patients before treatment, but cluster together after treatment? Could I report this, or is the fact that the observations are not independent mean I can't us... |
In the context of Statistical Process Control (SPC), control charts are used to monitor a process over time and detect shifts in the mean or variation. The traditional Shewhart $\bar{X}$ charts makes use of (rational) group means to monitor the process mean over time. However, one of the assumptions is that there is no... |
While it's evident that fully connected layers, even with skip connections, form DAGs, the shared weights in convolutional layers introduce complexity. How does the unique structure of convolutional layers affect their representation as DAGs?
|
Let $n$ individuals in a statistical population be identified by $p.id \in \{1, 2, ..., n\}$ where the order is randomised. Assume, for simplicity, that all individuals are included in the sampling frame and could, in principal, be sampled. Also for simplicity, assume there is no complex survey design (no clustering or... |
I collected stress data (cortisol reactivity) on 4 timepoints. I also collected psychological measures at 1 timepoint.
I would like to know if the psychological measure (one measurement time point) is related to stress reactivity.
I tried to calculate correlation coefficients between
psychological measure and Cortisol ... |
Considering a dataset where models do not converge to model random effects (e.g. boundary (singular) fit: see help('isSingular') in R), how confident can we be on the remaining coefficients?
To give an example, consider the following code and results (example taken from here):
library("afex")
# examples data set with b... |
In princomp of the R stats package, I noticed that the "scale" of the output varies based on whether the raw data or the covariance matrix is supplied. The scalings should be equivalent to the standard deviation of the variable, but I noticed that if the data itself is supplied, the population standard deviation (denom... |
I've got a completely randomized block design with 4 treatments and 3 replications (blocks).
I figured that a mixed model with repeated measures as random terms should be appropriate to analyse this design.
We have measured each plot (4 treatments x 3 replications = 12 plots), using means of 3 animals per plot, 4 times... |
Suppose we have independent random variables $X_i$, and we assert a parametric model of $X_i \sim f(\theta_i)$ that (given a sample of data {$x_i$} from one variable) has both an MLE function $\hat{\theta_i}(x_i)$ and a confidence interval formula for the MLE like $P(u(x_i) < \hat{\theta_i} < v(x_i)) = \gamma$.
Without... |
for an experiment, I was asked to provide a minimum required number of participants using an a-priori power analysis. Thing is, I'm now really confused on how this is possible or even if it makes sense.
What I have:
2 Independent Variables with 8 levels each = 64 conditions
Within-Subjects Design
Every Condition is on... |
I have two variables which represent attitudes towards slightly different sorts of people, though measured with the same scale.
I also have a superordinate variable which is a certain psychological trait and which I'd like to correlate with the other two variables.
The aim of my study is to verify empirically a certain... |
I am working on a dataset for linear regression in R. After building the model (with the lm()function), I want to test my model on a new data point using the predict() function with a certain confidence interval. Is there a mechanism to verify whether predicting at this new data point is valid or not?
|
There is a test consisting of 6 questions and additional sub-Qs. The test was translated into another language and the questions were adapted, but the reliability of the test was never assessed. The test has an existing rubric and scoring, but only questions 2(a) and 2(c) were self-scored in the rubric as those items w... |
Let's start with the Davis dataset from car package and fit a simple regression model
data(Davis)
mod.davis <- lm(weight ~ repwt, data = Davis)
summary(mod.davis)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 5.3363 3.0369 1.757 0.0806 .
repwt 0.9278 0.0453 20.... |
I'm looking into methods for estimating the parameters of a Kalman Filter, in particular the covariance matrices. I have seen it suggested a couple times (for example here) that the measurement covariance $\mathbf{R}$ can be approximated by computing the variance of measurement variables from a batch of sensor data. Ho... |
Given exponential random variable X, the MLE for the scale parameter is $\hat{\beta_x} = \bar{x}$, and the confidence interval for that estimate is:
$$\frac{2n\bar{x}}{\chi^2_{\frac{\alpha}{2},2n}} < \hat{\beta_x} < \frac{2n\bar{x}}{\chi^2_{1-\frac{\alpha}{2},2n}}$$
Given samples from two independent exponential variab... |
A monopoly has just lost an anti-trust case with the government, and will soon be broken into two smaller, separate companies.
The former owners, bitter about this outcome, withhold the organisation's team rosters, making it difficult for government officials to break apart the company along team lines.
The officials d... |
I came across the following test for statistical significance between two betas (predictors) from a multiple regression model. Note that $R^2$ is the model coefficient of determination, $r$ is the correlation between predictor 1 and predictor 2, and $df$ is the model residual degrees of freedom:
Calculate determinant:
... |
Hi I'm perplexed because I assume that a distribution with higher variance should have higher entropy scores, however this does not appear to be the case?
Here is an example.
# Set seed for reproducibility
set.seed(0)
# High Variance Probe: Uniform distribution
high_variance_probe <- runif(1000, min = 0, max = 1)
# L... |
I'm wondering if we could use gls for unbalanced longitudinal data (in the sense that every group has different number of measurements and the measurement timepoints are also different). When I try to use corr=corSymm(form= ~ age|id) to specify the unstructured covariance in gls(),i.e.:
gls(ht ~ baseage + age_normed, d... |
I have two datasets of daily cash_inflows & network consumption (load) for past 4 years. Network load consumption is the single source of income. There will be some lag between load consumption & the corresponding cash_inflow. i.e. cash_inflow today will be from the load consumption during last month or quarter as cus... |
My dependent variable is binary and am therefore using a logit regression but since the diagnostic tests to run for logit are different can I not just regress the variables with OLS and run the standard tests to check if is BLUE.
|
Hi I'm sorry if my question is a bit basic. But I need help with understanding classification with dimensionality reduction. Say I have a training matrix, X containing n $\times$ m. And m is a very large number. I apply PCA and truncate X to some k and I call this truncated, X as X$_{reduced}$ which reduces the number ... |
How can I test the equality of coefficients from multiple regression models?
I want to compare multiple measurement methods to see if they capture the dynamic processes of the same construct in similar ways; the hypothesis I intend to test is that the regression coefficients across models are equal because all measurem... |
How to forecast revenue based on previous revenue and advertisement budget?
This is how the data looks like, see full data on google sheet or even better on Colab notebook.
EDIT:
With my limited knowledge in Excel I know to forecast based on a single parameter (here: previous revenue), I want to forecast based on tw... |
I am running a logistic mixed model in lme4. The model is as follows
logme <- glmer(Correct ~ PE_Condition.ct*sumspq + (1|Pt_ID),
family = binomial, data = test_CorrectPred.ct,
control=glmerControl(optimizer="bobyqa"))
I have one continuous predictor which is a questionnaire score (sumspq). I also have a cat... |
I would like to know which model could be the best for the problem i have:
I have data at baseline, at 3 months Follow-up, and data until 2 years of follow up.
I have classified individuals as if they had an event or not after 3 months and before 2 years of follow-up. (0= no event, 1= event 1, 2 = event 2)
I have some ... |
I have a model to test 4 hypothesis (all data was collected on a 5-point likert scale through surveys):
Ability (IV) has a positive relationship with PO fit (M)
PO fit (M) has a negative relationship with uncertainty (DV).
Ability (IV) has an inverse relationship with uncertainty (DV)
PO fit (M) mediates relationsh... |
Let$(X,Y)$ be an RV of the continous type with PDF $f(x,y)$.Let
$Z=X+Y$,then the Convolution of probability distributions told us the PDF of $Z$ is $f_{Z}(z)=\int_{-\infty}^{\infty}f(x,z-x)dx$.
If we suppose that
$$f(x,y)= \left\{\begin{matrix}
p(x,y)& (y\ge0) \wedge (x\le y)\\
0& \text{otherwise}\\
\end{matrix}... |
I am currently trying to build intuition for two-factor ANOVA by doing some simulation in Python, and some things are hard for me to parse.
I have an ANOVA with 4 levels of one factor and 3 levels of the other one, which leaves us with 6 degrees of freedom for calculating the Mean Squared Distance of Interaction Effect... |
In a survey, a complex sample was collected, and the sample was designed to provide estimates at national level. In other words, individuals from one state were more likely to be sampled due to stratification and clustering, leading to intentional oversampling of certain groups for better representation.
The final data... |
I'm curious about interpreting the coefficients of dummy variables within a Cox Proportional Hazards (PH) model. Consider a scenario where I have a sample comprising both male and female patients, and I aim to include a dummy variable to represent females. In linear models, interpreting such dummy variables is straight... |
I have been reading about bootstrapping, and sampling distributions, and find it odd that people use these techniques to describe uncertainty.
As I understand it, the sampling distribution shows uncertainty in the statistic measured on a sample by resampling the sample with replacement.
So if you bootstrap your sample,... |
The way I have seen kernel ridge regression introduced is as follows. Given data $(X,Y)$ you want to fit a function $f$ from a RKHS $\mathcal{H}$ to minimise some empirical loss $\sum_i L(f(x_i), y_i)$ plus a regularisation term $\lambda ||f||^2$, where $|| \cdot || $ is the norm associated with the RKHS.
It then follo... |
I am aware that measures of skewness based on the mean are affected by outliers, and just one outlier can significantly shift the mean. However, in case of a distribution with a very long tail, should I use a mean-based measure of skewness or a median-based measure of skewness, to measure the lack of symmetry of the di... |
I have been working on my Master's Thesis which included a survey and its results have been put through various tests. The unusual thing about my Thesis is that I have no hypotheses at all, making it a descriptive statistical analysis. However, I have set up hypotheses just for the purpose of calculating p-values for m... |
If I use the lower.limits = 0 argument, it doesn't apply to the intercept for some reason. I can't find any documentation as to why or how to do it. Any ideas? Below is a reproducible example. As you can see there's still negative intercepts.
# Load package
library(glmnet)
# Generate data
set.seed(12345)
n <- 1000
X <... |
I ran a small study where all participants attended a psychological intervention, and completed measures at pre, post, and follow-up. Approx. 40 participants took part, of which approx. 5 did not complete the follow-up measures.
I suspect the data is missing at random (i.e. participants forgot there was a follow-up, di... |
Feeling a bit stupid but here goes:
There are 6 people in this secret Santa thing, one of them is person X and another is person Y. All the names are put into a hat and each person comes up to take a name from the hat. If the name is their own, they put it back and redraw until it is someone else's name. Then, the next... |
When performing regression with categorical variables, in order to avoid multicollinearity, it is necessary to drop one level. This is clear in fact:
Let's assume I have a binary categorical variable (A, B) and the following data:
id, cat, y
1 A y_1
2 B y_2
3 B y_3
4 A y_4
...
where id is just an index... |
I am working on a mixed effects model in r where I have 2 treatments, 5 replications and subsampling with each site. I dont have access to the raw subsampling data though, I just have the mean effect size for each replication, number of subsamples at each replication, and pooled variance at each replication.
I am exper... |
I have a dilemma. I have a data set of different proteins from 4 groups of animals characterized by two factors: age (3 or 12 months) and presence of a certain gene (KO or WT). For each combination of factors (3m, KO; 12m KO; 3m WT; 12m WT) I have 6 measurements (i.e., 6 animals), except for one group of which I have o... |
I have a time series at day level granularity:
Date. Value
2023-10-01 78945
2023-10-02 78990
2023-10-03 79005
2023-10-04 78999
...
While there are some fluctuations, the overall trend is increasing and we want to estimate when this value will reach a threshold, say, 90000.
While standard time series models like H... |
Are Bayesian models subject to the same problems as frequentist ones, where we cannot run a bunch of different models due to Type I error? For example, let's say I have a large data frame on airplanes, dependent variable miles flown, independent variable total passengers, and a grouping variable of airline company (mad... |
I am in the progress of calculating the sample size for a treated/untreated group comparison.
The data provided is a mean infection rate (mean/100 years) of a literature recherche.
Assuming the infections are poisson distributed. So the SD=sqrt(mean).
The alternative hypothesis would be: Treatment lowers the rate of in... |
I have $N$ Independent Random variables Laplacian distributions with $\mu=0$ and positive $b=\sigma^2/2$. I also have dominant random variable $(X_s)$ with Laplacian distribution with $\mu=0$ and $b=\sigma^2_s/2.$ $(\sigma^2_s \gg \sigma^2).$
I want to find the joint distribution for $$X= \sum_1^N X_i +X_s$$
My work:... |
Decoder-only models do not use an encoder. Hence, they do not get the embedding from it.
I went through this nice description of a decoder-only transformer -based model
I do understand the training phase but need some clarification regarding one thing in particular.
What is the word embedding that is being used?
Does ... |
I am a new learner of Fect package in R, see https://yiqingxu.org/packages/fect/fect.html.
I try to use method to do counterfactual analysis of my DiD. I use unbalanced panel data, and the Matrix Completion method, but I got NA in F test when testing Pre-Trend(MC)? Does anyone know the reason? What should I do? Thank y... |
In one article explaining MCMC, I once read the following statement.
The idea of sampling methods is the following. Let’s assume first
that we have a way (MCMC) to draw samples from a probability
distribution defined up to a factor. Then, instead of trying to deal
with intractable computations involving the posterior,... |
I want to match in a certain order.
I am aware of the argument order, available in package {MatchIt} - but this refers to the propensity score.
However, I want to match in ascending order using a grouping variable named set.
Thus, matching begins within the least value of set, 1:1, without replacement.
Some IDs contrib... |
I have already asked a similar question on this site (Correlating two variables / convergence); however, I feel like the way I wrote the previous one made it a bit too ambiguous, and on top of that, there are several aspects of the issue I'm facing that I left out from there. Feel free to remove that post.
I have two v... |
I found two papers that provide their results showing the significance of an increase in adjusted R-squared between two models statistically, with p-values, to show the improvement after adding a few more explanatory variables.
One paper: https://pubsonline.informs.org/doi/10.1287/mnsc.1050.0366
The other paper: https:... |
I am struggling to understand how parameter interaction contrasts play into model averaging. As I am new to Stack Exchange, I apologize if my question is in the wrong place or incorrectly asked. I will adjust as needed. I have found very few sources for understanding this topic, so any insight or directions to sources ... |
I am working on my master's thesis and conducted two studies. The first study utilizes 3 groups. The problem is, that the group sizes are very small (n1 = 13, n2 = 14, n3 = 14). I want to test if there are significant differences in the independent variable (construct measured with 4 items with a 7-point Likert scale).... |
I'm trying to run a linear mixed effects model using the nlme package using the lme() function with the txhousing data from the ggplot2 package in R. When I run the following model I get that some of the fixed effects estimates are zero. What can I do to remedy this?
Model Summary Output
I'm specifying the following mo... |
I am working on a problem where I would like to estimate chargeback rates for online goods orders as a function of the proportion of orders that are approved (approval rate).
The approval rate is a function of scores determined by a machine learning model for each order. The model tries to determine the likelihood of a... |
I'm finishing a manuscript, but have one nagging problem which I'm unable to find an answer.
Study has two groups which receive different procedure for a disease. After the procedure, one patient may face multiple different adverse events (complications). I want to test if there is a difference in total number of adver... |
In a meta-regression model, a precision measure (SE or SE^2) is often included in the model along with covariates. Is the same true for subgroup analysis in a multi-level analysis wherein moderators are tested individually? For example:
moderertorX <- rma.mv(MarginalEffect, Variance, mods = ~ SE + moderertorX, random =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.