instruction stringlengths 9 38.7k |
|---|
My Little's MCAR (missing completely at random) test on 12 items revealed
chi-square = 138.281, DF = 84, and sig. = .000. (SPSS Output)
I wonder if I can conclude that the data were not missing completely at random since the p-value is highly significant (<.05)?
And, is there any issue with my p-value being p=0?
The va... |
As far as I know, when fitting a GLM, the fitted model should always have a higher likelihood compared to the null model (with only an intercept) for the same training set. When I run a small simulation, I encounter cases where the opposite happens. What can be the explanation?
Tt comes down to the use of the dispersio... |
In my line of work, we often hypothesize that one continuous predictor will have a stronger relationship with some outcome than another closely related (i.e., collinear) continuous predictor. We fit a multiple regression $y = a + b_{1}X_{1} + b_{2}X_{2}$ and start by checking to see if $b_{1} > b_{2}$. If it is, then y... |
For a two-sample effect size calculation on paired data (or a one-sample test on differences), does it make sense for an effect size to be negative for a hypothetical % increase of a mean? I’m doing a one-sided test. I have seen 2 versions of the mean difference and I’m not sure if it changes depending on an increase/d... |
I have a system with multiple states (N) that can transition from one state to another at every discrete time increment, or stay in the same one. I want to obtain a good estimate of the transition probabilities of the system.
I have some data that allows the creation of a transition matrix, treating the problem as a Ma... |
Consider data generated from a model $Y = \alpha A + \beta U$, where $U$ is a confounder, i.e. $\langle A,U\rangle \neq 0$. We don't measure U, but rather a noisy version of it, $U' = U+\epsilon$, where the entries of $\epsilon$ are Gaussian(0,1). We fit a regression model,
$$Y = \alpha' A +\beta' U',$$
and obtain an e... |
I am following [Greifer 2023][1] to estimate the effect size after (genetic) matching, where I am using bootstrapping to estimate the confidence intervals. Since I have a hierarchical setup with repeat measures (harvests) from fields and fields nested within sites, a frequentist approach (using lmer) resulted in a sing... |
In transformer training, the activations have three dimensions: batch, feature (i.e. embedding) and time (i.e. token). Layer normalization is applied, calculating statistics (mean, standard deviation) and using them to standardise the activations before using learned parameters to scale ($*\gamma$) and shift ($+\beta$... |
I have a dataset of patients who underwent an operation, and I collected information on post-surgery complications such as necrosis (binary outcome variable). Now, I would like to investigate whether independent variables such as age (continuous), gender (binary), or underlying disease (categorical) influence the likel... |
I have the following astronomical data
data1vcoord =array([[ 709.4497, 1500.3387, 1573.9434, 292.9126, 930.4643],
[1423.7768, 1242.1892, 407.6168, 346.3528, 541.8568]])
data10vcoord=array([[ 718.5531, 1505.431 , 1579.0752, 298.2245, 935.6432],
[1379.5269, 1236.0935, 401.8907, 341.7608, 535.6279]])
which are c... |
Suppose you run an experiment where the treatment is Gatorade and the outcome is one-mile runtime. You’ve stratified on variables such as sex, height and weight so they’re well randomized and have no correlation with the treatment. Terrific!
Now suppose that you’re interested in runtime and sex (using a categorical var... |
I hypothesise that the higher the outdoor temperature, the higher the surface temperature of the building envelope, which should also translate into the detection of higher surface temperature on the other side of the surface (eg: temperature measured on the outer vs inner side of a wall). I have collected temperature ... |
My understanding is that fractional polynomials and restricted cubic splines serve similar purposes. However, cubic splines are much more widely used outside statistics, and I have a better (mathematical) intuition for them. And indeed, there are currently 14 questions here tagged [fractional-polynomial] and 600+ tagge... |
Suppose a gun is fired at the bullseye of a target a specific number of times.
Ignoring the accuracy (e.g. all the shots are well to the left and above the bullseye), is there a standard way of expressing the precision (i.e. how closely they cluster together) and the confidence of that value (based on the number of sho... |
I'm conducting some simulation analysis under different correlation structures where H0: absence of interaction component in the model.
I computed type 1 error rate under the null hypothesis at some instance, and I saw that the type 1 error rate is inflated. Assume that the expected value is 5%, and I got type 1 error ... |
Given that:
$$
\text{Corr}(Y, X_1) > 0 \\
\text{Corr}(Y, X_2) = 0 \\
\text{Corr}(X_1, X_2) > 0
$$
Consider 2 regressions:
$$
Y = a X_1 + \epsilon \\
Y = b_1 X_1 + b_2 X_2 + \epsilon
$$
Which one is bigger, $a$ or $b_1$?
The answer should be $a < b_1$. Intuitively, I would answer this using "Regression by Successive Ort... |
I am wondering if the self-correlationess in X of the linear regression will impact the estimation or the t-statistics of the coefficient? For example, we have a linear regression model Y(t) = a1 + a2*X(t) where X(t) can be written as X(t) = M(t) + M(t-1) + M(t-2). we can assume Y(t) and M(t) are IID random variable. I... |
I am looking at a single arm clinical study with a small sample size (n=14), where each patient was assessed 5 times (weeks 1-5, once a week). I have constructed linear models to see if the change-over-time is significant and then looked at the QQ-plots to assess normality of the residuals. They sort of look normally d... |
Suppose we are interested in the percentage effect of a binary $D \in \{0,1\}$ on an outcome $Y \in \mathbb{R}$, which might motivate a simple regression of the form:
$$ \log Y = \beta_0 + \beta_1 D + \epsilon $$
Since $\beta_1$ may be interpreted as the marginal effect of $D$ on $\log Y$ (which is not very helpful), w... |
So I'm having some trouble deciding how to format the repeated measures in my model. Basically deciding between:
Glm1<- glmmTMB(InsectAttacks ~ Treatment + Week + (1|Tree), family = nbinom2)
Glm2 <- glmmTMB(BeetleAttacks ~ Treatment + Week + (1|Tree/Log), family = nbinom2)
I'm testing the efficacy of an insect repe... |
I have 5000 docs, each is a review. For each review, I'm plotting the sentences in a semantic dimension. Now, I'm applying clustering to these points for each review. The success of my model depends on how well these points are clustered. I'm looking for any clustering algorithm which can learn hyperparameters/paramete... |
Imagine that prior to the time of Copernicus, scientists could run machine learning algorithms (somehow).
Would it be possible to discover the truth of the geocentric model with their use?
Would the machine learning algorithms assist in discovering Kepler's laws of planetary motion?
Would they be beneficial for Newton ... |
I am trying cluster a trajectory, consisting of (state, action) sequences, by assigning them to the most likely model that generated them using Chinese Restaurant Process. Basically my goal is to infer $\rho_{ij}$, which represents the probability that $i^{th}$ trajectory was generated by $model\ j$ and learn parameter... |
I have a Gibbs sampler that is mixing terribly slowly. I have a hunch that if I sample a parameter pair as a single block, it would improve convergence.
I tried HMC within Gibbs, but it's also slow. I need many leapfrog steps to have a truly independent sample, about 10,000, and each leapfrog step takes about 5ms.
My n... |
Consider the following measure:
$$d\nu (x)=\mathbb 1_{(0,1)} (x) \frac 1 {x^{2}}$$
Now, define $X$ with characteristic function given by:
$$\varphi_{X}(t)= \exp\left\{ \int_{\mathbb R} [e^{itx}-1 - itx] d \nu(x) \right\}$$
I would like to know how I can proceed to take an iid sample of size $N$ according to the same di... |
In my dataset, there are 4 repeated measures (4 runs) from 24 subjects. So I applied linear mixed effects model with random effects = subjects. On the other hand, I figured out that the regression line doesn't pass through the averages of each run, I mean not even close. To me, it doesn't make sense. (The error bars sh... |
Let us consider a Cobb-Douglas production function with $Y$ being the output and $X$ being the input (assume for simplicity only one input) and a composite error term:
$$
Y = e^{\beta_0}X^{\beta_1}e^{v}e^{-u}
$$
The random error $v$ is assumed to be independent of $u$ follows a normal distribution $v_i \sim \mathcal{N}... |
I'm trying to do an a priori power calculation with G*Power 3.1.9.2, but I don't know which test to choose and what to enter in "number of groups" and "number of measurements" for my case.
What I want to do:
I want to pretest vignettes for my study. I combine 3x3 factors (e.g.: A,B,C x 1,2,3) in my vignettes and theref... |
I want to test the prediction capabilities of an sarima model for long sequences. I want to predict the next [24 48 96] datapoints and calculate the mse and rmse. Can you help me find bibliography and any examples?
the pseudocode i use:
Algorithm: Rolling ARIMA Forecasting
Input: Time series data
Output: Root Mean Squa... |
I'm trying to model soil quality using the soil quality index (SQI) as a function of earthworm abundance and elevation. The SQI is restricted to values between 0 and 1. I used multiple soil indicators to elaborate the index (soil chemical indicators and biological indicators). More details can be found in those article... |
In a psychological paper (Fujita et al., 2006), the authors perform a two sample t-test for independent means. They report the following values:
$M_1$ = 9.88, $M_2$ = 8.47,
t(66) = 2.25, p = 0.03, $p_{rep}$ = .94, r = .27
What does r mean in this context? Is it a correlation coefficient or is it an effect size? In the ... |
I want to be sure I understand, so please critique the following:
In regular parametric statistical models, the non-linear maximum likelihood estimator is biased. Given some data, $y_i$, parameters, $x_k$, the maximum likelihood estimate of $\beta$ is the value of $\beta$ which maximizes
\begin{equation*}
\prod_{i=1}^n... |
I've just been introduced to G*Power. The only option I could find for analysing logistic regression is described as:
Options: Large sample z-Test, Demidenko (2007) with var corr
That seems to refer to this paper, which uses the Wald chi-squared test. It does not discuss the Hauck-Donner effect.
Is G*Power a reliabl... |
Trying to decode this task:
I have a table of user ids and the up to 12 products they’ve used over a given period. Two columns, each line being a unique ID and product combo. Boss wants to know how the use of each product relates to each other product, as in: do users of product a also use product c, d but avoid g, h?... |
I am currently trying to solve this problem pertaining to the Yule-Walker equations:
Let $\{X_t\}_{t\in Z}$ be a causal autoregressive process given by $$X_t = \varphi X_{t−2} +W_t$$ with $\{W_t\}_{t\in Z} \sim WN(0, \sigma^2)$.
Assume that the following sample moments were obtained
after observing $X_1, \dots, X_{200}... |
Is any specific caution needed when using thin plate regression splines with weights? Is there possible "interaction" between penalization of curvature and weighted likelihood, potentially leading to oversmoothing? Is there automatic effective cross-validation within mgcv that chooses the optimal smoothing parameter?
|
In the documents for HDBSCAN it says the following:
Often it is useful to train a model once on a large amount of data,
and then query the model repeatedly with small amounts of new data.
This is hard for HDBSCAN* as it is a transductive method – new data
points can (and should!) be able to alter the underlying cluste... |
In this paper the authors in equation 18 present $\hat{\sigma_t^2}$ as
$$ \hat{\sigma}_{t}^2 = \frac{[X, X]_{t_{i M_n}} - [X, X]_{t_{(i-1)M_n}}}{t_{iM_n} - t_{(i-1)M_n}}. \tag{18} $$
How to read the subscript in both the numerator and denominator?
For example $[X, X]_{t_{(i-1)M_n}}$ is to be understood as iteration $(i... |
I thought I'd ask a fairly fundamental question regarding confidence intervals at the risk of potentially furious backlash from the stats.stackexchange community.
However, I've never quite yet found a satisfying answer for it. In particular, I've never quite found a satisfying explanation on the `repeated sampling' ass... |
I have some integer data, produced by slightly convoluted numerical procedure, which is distributed between $0$ and $300$, with the most probable values being $0$ and $300$, and the least probable being $150$. Just by a bit of trial and error, I found that a function of the type $$p(x) \sim x^{-0.6} + (300 - x)^{-0.6}$... |
The question is pretty much contained in the title: in a linear model $Y=X\beta +\epsilon$, with $\epsilon\sim N_n(0,\sigma^2 I_n)$, does the Cook's distance, defined as
$$
D_i:=\frac{\frac{1}{p}||X(\hat{\beta}_{(-i)}-\hat{\beta})||^2}{\tilde{\sigma}^2},
$$
follow an $F_{p,n-p}$-distribution?
Wikipedia seems to suggest... |
Problem Statement:
I am analyzing ageing patients that have some terminal disease. There are multiple patients and they are measured multiple times throughout the study. Each patient is measured a different number of times at different intervals. Patient measurements consist of covariates and responses measured at the... |
When the outcome of a supervised learning problem is binary and probabilities are predicted, Brier score can be decomposed into a measure of calibration and a measure of discrimination.
Computationally, Brier score is mean squared error, a common performance metric in regression. Is there a decomposition of mean square... |
I have a dataset with the following characteristics:
moderate sample size (~300 samples)
moderate class imbalance (~20% positives)
high-dimensional (the number of independent variables, again ~300, is comparable to the number of samples)
I fitted a logistic regression model with Lasso regularization and two-level 3-f... |
I have a logistic regression model with a categorical predictor with five levels.
I compute emmeans for the model, splitting by my categorical predictor.
emms <- emmeans(m_final, "Factor")
Then I compare these to chance.
test(emms, null = 0)
My output looks like this:
Factor emmean SE df z.ratio p.value
A ... |
I have a question and its answer but I don't understand it. would you please explain it to me?
QUESTION:
Let $X$ follow a $N(0, 1)$ and $Z$ a random variable independent of $X$ following a $U(-1, 1)$. It can be proved that $ZX \sim N(0, 1)$ . Prove that $(X, ZX)$ is not a Gaussian vector.
ANSWER:
It is not a Gaussian v... |
Do you think the following approach is valid in terms of computing independent t-tests that account for statistical weights?
Essentially, we want to compare whether a random sample of people from 31 European countries in 2005 (group1) are statistically different from another random sample of people from the same 31 Eur... |
A complete rewrite of the question. Suppose a sample of size 100 from a population is made randomly and the sample is divided in groups $A$, $B$, $C$. Group $A$ has size $50$, $B$ has size $30$ and $C$ has size $20$. Clearly, group $A$ has $50$% of the sample.
The original poster is a beginner. Perhaps the language... |
Quick question. I'm using the mice R package to impute missing data. I go by the presumption that the missing data are MAR, but I wouldn't be surprised if a few binary variables were MNAR. I followed Van Buuren's recommendations (https://stefvanbuuren.name/fimd/ch-practice.html) by including variables potentially linke... |
I have some problem deriving the asymptotic variance-covariance matrix for MLE of the pareto distribution and hope to receive help.
Consider random variable $X$ follows Pareto distribution, where
$f_X(x) = \frac{a \lambda^a}{x^{a+1}}, \quad x \ge \lambda$
The loglikelihood function is $l(x|\lambda, a) = n\ln a + na\ln ... |
I am trying to figure out the procedure for design matrix specification for mixed effect models, and I already know how to create the fixed effects design matrix.
However, I have recently been working on a procedure for making the random effects design matrix, and wanted to post it as a question here, to get feedback o... |
In distributed lag non-linear model, the author used meta-anlysis to get the summarized statistic of cumulative effect.
However, it can only to apply numeric function. If I fit the binary variable with dlnm, then crosspred function cannot be used to obtain the estimate of standard error. Is there anyway to do it?
|
I am not sure how to define that a statistical model does not overfit based on a difference between bootstrapped AUC and AUC calculated on all training data. In the literature I saw 2 approches. The first one was to use Delong or analogous tests to confirm that the difference in AUC values is not statistically signific... |
Putting aside the fact that this are, on the whole, fairly weak correlations, does this correlation heatmap of products used by various users, which has ONLY negative values, seem strange to anyone?
I'm new to this type of analysis but something about this seems odd: when a raise in the value of everything correlates t... |
There are two measuring devices, device 1 is the standard and considered to be very accurate.
The same five items are measured on both devices. The device 2 is calibrated to device 1, so the means are already identical.
So far I throw all five measurement groups for each device together, so analyze 200 vs 50 measuremen... |
I am working with tree data and trying to calculate the annual probability of harvesting occurring on the plot level but am struggling a bit with the concept. I formated the data that each line represents one tree that was sampled two times, in one of the years between year1 and year2 and harvest says if the tree was h... |
Let $X$ be a random variable and $F_X(x) = P(X \le x)$ its cumulative distribution function (cdf). $P_X$ is the probability measure induced by $X$, which is defined by $P_X((a,b)) = P(X^{-1}((a,b))$ for $a,b \in \mathbb{R}$ .
Is it correct to say that $F_X$ is strictly increasing $P_X$ almost everywhere?
If so, what w... |
Can there be a distribution that cannot be expressed as a marginal of some other distribution?
|
I am dealing with rate data in which the numerator (hospital visits) can exceed the denominator (population size). Obviously binomial confidence intervals don't make sense for this situation. Can anyone recommend what type of confidence intervals I can consider for this type of data?
|
I'm working on a Bayesian analysis with a categorical variable involving two groups (A vs B). I'm seeking advice on the best method to compute the geometric mean ratio (GMR) together with the highest posterior density interval (HPDI). My model is log(response) ~ 0 + group, resulting in posterior distributions for the m... |
(Olivier (2013) states that
many have pointed out problems with $\phi$ as an association measure and advocate the use of odds ratios as an alternative
Unfortunately, it does not give citations for this. Does anyone know of references which point out such problems?
(The context is that I need to persuade colleagues th... |
Research question:
I am interested in analyzing in R whether people with a specific level (out of four levels) of a blood parameter BP have a higher risk for developing a specific disease D.
A description of my study population:
I am working with a closed cohort in that sense that a certain amount of people got include... |
I'm currently involved in creating a causal DAG (Directed Acyclic Graph) to map causal relationships of a real industry problem. The more I think, the more ancestor nodes I add to the DAG which is getting way too big now.
Simply put, when is it enough?
What is the criterion for stopping adding more nodes to the DAG?
It... |
Let $Y$ a real positive variable. I have a data frame with the measurements $X = mean(Y)$ of four distinct categories of subjects:
Healthy control during control condition
Healthy control during experimental condition
Diagnosed during control condition
Diagnosed control during experimental condition
The data frame th... |
I am doing an assignment on my statistics class. We had 1 lecture about bayesian parameter estimation, where we were taught about the following formula (and it's discrete form, if $h(\theta)$ was discrete). It was said that $f(\theta|x)$ is the posterior, and $h(\theta)$ is the prior.
$$f(\theta|x) = \frac{f(x|\theta)\... |
I am trying to make predictions on a dummy variable. What I am predicting is whether or not a separate variable ever changes from a zero to a 1 in a year from the observation date. The dummy variable is a 1 if the separate variable is ever a 1 in that year and a 0 if it never becomes a 1. This is easy enough to do with... |
I am trying to make some causal inference estimates in a dataset and was hoping someone here could help me out with a question I have coming out of my background reading.
It seems that a very prevalent technique is to use a propensity score (as described by Rosenbaum, the probability of receiving the treatment as a fun... |
Let me state my problem from the beginning:
Let $i$ be an index representing countries ($i = {1,2,\ldots,N }$), and $t$ represent time, denoted as available data for country $i$ ($t = {1,2,\ldots,T_i }$).
Let's consider the data-generating process(DGP) for $\Delta y_{it}$, which follows an AR(1) process:
\begin{equatio... |
The Ciw documentation states
In Ciw, Type I blocking (blocking after service) is implemented for restricted networks.
After service, a customer’s next destination is sampled from the transition matrix. If there is space at the destination node, that customer will join the queue there. Else if the destination node’s qu... |
I have a theoretical question regarding the use of zero-inflated models. There are similar questions here and here, but neither answer set seems to deal with the theoretical question I am asking.
I understand that the theoretical use of zero-inflated models is that when you have a bunch of zeros in count data, it is so... |
I am trying to compare different evaluation metrics to assess performance of LLM-based solutions. To do so, I was planning to compute different metrics values (continuous outcome) and compare these values with a human judgement (binary outcome - correct or not correct).
Consider the example:
question = "Who is the auth... |
So I know that if the new predictor lies in the subspace spanned by the existing predictors, then $R^2$ will not increase. However, I recall reading that this is a sufficient condition, but not a necessary one to maintain the same $R^2$ when adding a new predictor, but I can't think of a situation in which $R^2$ can re... |
Suppose $$C_n=X_1 X_2\cdots X_n,$$ where $X_i$ is $d\times d$ matrix with IID entries normally distributed with mean 0 and variance $\frac{1}{d}$.
The following appears to be true for large $d$, why?
$$\|C_n C_n^T\|_F^2\approx d(n+1).$$
Here are some numbers from 4 samples with $d=1000$ (Notebook):
n sample1 sampl... |
Assuming the following data:
Group A Group B
580 170
206 1
1680 292
1300 426
520 22
1440 300
1020 2
1680 20
1120 5860
572 2
I want to do a power analysis based on Group A and also Group B to compute the required sample size necessary to see a 10-fold reductio... |
I need help on breaking down a confidence limit formula in Excel. The file is calcuating confidence limits for very small point estimates from large samples and for large population that are positivelty distributed. i.e. the point estimate can never be less than zero.
The aim is to calculate confidence limits for discr... |
After re-reading the definition of autocorrelation, is it fair to say:
All Time Series data have some autocorrelation? (either positive or negative autocorrelation, which are both bad)
There's probably some edge case that renders it false, but is it at least true 99% of the time?
"Each subsequent observation is creat... |
I am learning to do SEM analysis and have finished the data collection. In my questionnaire I have scales measured from $0$ to $5$ which measure emotions ($0$ = not feeling it at all to $5$ feeling it strongly). Now someone told me I SEM cannot use a scale with $0$ in it.
He is using AMOS. I heard Mplus can accommodate... |
I think I have a good idea of how linear regression using OLS and the regularized variants works from reading posts on here and reading Elements of Statistical Learning, but most posts here and in ESL use standard examples with $y$ and some set of predictors and it's not usually in the context of time series analysis.
... |
In the section on SVM in one book I'm reading, the authors wrote:
Consider the problem of learning to classify a short text document according to its topic, say, whether the document is about sports or not. We first need to represent documents as vectors. One simple yet effective way is to use a bag-of- words represen... |
I posted a question Models for fully correlated data where I asked about situations involving regression modelling of correlated covariates. I thought in standard regression, covariates can not be correlated (e.g. for the same patient, newer values of a variable x1 have to be independent from older values of x1 for thi... |
Greed search CV or few other approaches may be computationally expensive in hyper-parameter tuning. Is it possible to come up with a surrogate model or a purposed model for a validation error in order to automate hyper-parameter tuning?
|
My understanding is that when we do maximum likelihood we want to choose parameters $\theta$ such that the probability of observing the actual, fixed data is maximized. That's how I understood it through a coin toss example.
So when we do linear regression we want to maximize the probability that we observe the actual ... |
I am considering a research project involving Propensity Score Matching (PSM). For a high-level overview, I am looking at college students. Colleges offer need-based, and merit-based scholarships. I am attempting to test whether there is a differential impact on students' grades and college persistence based on the fra... |
I've read on the internet that the pdf of the sample max, $X$, from among $N$ i.i.d. samples from a distribution with pdf $f(x)$ and cdf $F(x)$ is given by
$$ p(X) = N f(x) F(x)^{N-1}. $$
I'm interested in the distribution of the max among $N$ samples from a Rayleigh distribution, and I've found numerically that the eq... |
I am having trouble with the correct interpretation of my regression coefficients. My independent variable is fund allocation which is a continuous variable. I have two output variables on which I regress separately.
I construct an index for infrastructure by combining the normalised value of the number of schools and... |
my outcome variable is on patient discharge disposition, with three categories(1.home,2.nursing home 3. hospital)
my independent variable is based on hospital characteristics, eg bed (1. <500; 2.>500), location (1.rural; 2.urban area)
I don't have further patient-level characteristics. I want to look at on avearge the ... |
I'm really a beginner with Psychometry. We've just started psychometry in our college and I've used software Jamovi for that purpose.
Working with Dichotomous Rasch models to asses a Multiple choice questions with single best answer based test, I want to know what is the implication of bad infit and outfit square means... |
I need to sample a high-dimensional parameter vector from a distribution where the gradient, the Hessian and the inverse of the Hessian of the log-likelihood are very cheap to compute. Are there any well-established Metropolis-Hastings proposals that take into account both gradient and Hessian information? Is this even... |
If X is a continuous random variable and P(X<=-a) = P(X>=a), is it possible to conclude that the random variable is normal?
If yes how?
Thank you
|
We say that in "standard" OLS regression the residuals $û$ are uncorrelated with $k$-th explanatory variable $x_k$. I know the argument can be intuitively derived from geometry of OLS. There are a lot of interesting articles in this forum on that topic with the bottom line, that the projection is orthogonal.
I am only ... |
Problem
I have an inference problem where the data observed are univariate random numbers whose distribution is obtained as follows. A latent random variable X is first sampled from a parametric distributions.
\begin{equation}
\theta \sim \pi
\end{equation}
\begin{equation}
X \mid \theta \sim p_1(x \mid \theta)
\end{e... |
I am looking to find structural breaks in a time series, using the strucchange breakpoints function in R. I wonder whether I need to detrend my data beforehand. Detrending might explain away valid structural breaks. There is a well-fitting quadratic trend, but I suspect that there are underlying reasons for this quadra... |
I am learning about characteristics of statistical estimators such as Efficiency and Minimum Variance. For example , on the topic of MLE, it says, here (1) it says that : "MLE is popular for a number of theoretical reasons, one such reason being that MLE is asymtoptically efficient: in the limit, a maximum likelihood ... |
I am encountering a question as follows:
Let $X, Y$ be two independent uniform random variable on $(0,1)$. We consider the regression model $Y = \beta_1 X + \beta_0$, given the restriction that $X + Y > 1$. We want to find $\beta_1$.
Let us call $U = X|X + Y > 1$, $V = Y|X+Y > 1$. Then we could compute the density of $... |
I have data set with 3 indepdent variables and 1 dependent variable. They are related to each other in the following way.
y* = a q^{1/3} + b q R C_{NS} + c
where a, b, and, c are coefficients, q, R, and, C_{NS} are independent variables. Depending on the values of y*, I have another binary random variable of interest.... |
I believe I have a fundamental misunderstanding of MCMC.
We seek to estimate the expected value of a target distribution using its integral form.
We consider a markov chain of samples from a simpler distribution, which, after a burn-in phase, gets arbitrarily close to the stationary distribution, designed carefully to ... |
I am trying to recreate sensitivity calculation in Python by applying the same methodology as used in G*Power
z-tests > Proportions: Difference Between Two Independent Proportions > Sensitivity: Compute the required effect size
But I am not able to find any information on the underlying formula used, even in the offic... |
A set of subjects from two groups are requested to perform a test after a sleep session of type A and then after a sleep session of type B.
My data frame pdf has then an independent variable Acc (accuracy) which contains the accuracy score (percentage of correct responses) of each subject after each session type. I am ... |
x
y
z
C
1
0
1
1
1
1
1
1
0
1
1
0
1
1
0
0
1
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
The dataset in the table above consisting of boolean variables x,
y and z and a single boolean output variable C. I want to use naive Bayes classifier.
I need to specify the value of (C = 1|x = 1, y = 1, z = 0)
I couldn't ... |
I’ve fit a Poisson generalized additive model (GAM) to predict the number of deaths given exposure using the R library mgcv and its gam function. Log(exposure) had been set as the offset and the model is set up the following way:
gam(NDeaths ~ Sex + Age +s(Age, k=6, bs=‘cr’, by= Sex)
,offset = log(Exposed)
,data = data... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.