instruction
stringlengths
9
38.7k
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...
I'm trying to work out how the posterior of a Poisson distribution is derived to enable me to detect changepoints. I'm trying to follow the example here. $Y_i$ (events per year) is modelled using two Poisson distributions (one before, one after the changepoint), with lambda given for these distributions by gamma distri...
I am currently working on a Bayesian inference problem and would appreciate some help on computing the posterior distribution of a hyperparameter within a specific multivariate normal model. Below, I provide a simplified outline of my problem and the challenges I'm encountering. Data and Distribution: I have a dataset...
Consider the random variables $X$ and $Y$ with joint distribution given by We know that the for the random vector $X=(X_{1}, \dots, X_{n})$, for $j \in \{1, \dots, n \}$ $$P(X_{j}=x)=\sum_{x_{1}}\sum_{x_{2}} \cdots \sum_{x_{n}}P(X_{1}=x_{1}, \dots, X_{n}=x_{n})$$ For the example we have that the marginal of $X$ and $...
I am curious about the sign of $corr(y, \hat{y})$ with and without intercept. I recall reading that when there is an intercept, the correlation is $\geq 0$, but in the case without intercept, the correlation can also be negative. From a geometric perspective, I don't see how this can be. Regardless of whether there is ...
I have an outcome variable that measures "community perception," with responses ranging from $0$ to $10$. For instance, the outcome variable might represent answers to the question: "In your neighborhood, out of every $10$ people, how many own a car?" I also have three independent variables, which are binary and can ta...
Apologies for the ambiguous description as I can't remember exactly it's called or the exact details. When I think about OLS, I typically think about regressing $y$ on top of the predictors simultaneously. The other approach that I am alluding to is, IIRC, where you do some kind of partial regression on a subset of the...
I'm a little confused regarding a mathematical definition (Cesàro summation) and its application to stationary time series. First, consider the definition given by Wikipedia, adapting to autovariances. According to this definition, the Cesàro sum of the autocovariances would be given by: let $(\gamma_\ell)_{\ell=1}^{\i...
I'm running mixed effects models in R using Treatment and Species as crossed predictors and Group as a random effect using the nlme package, like so: model <- lme(growth_rate ~ Treatment * Species, random = ~1|Group, data = data, method="REML") I wanted to run a post-hoc test to perform pairwise comparisons, i.e. comp...
The random effects model is stated as: $Y_{ij} = \mu + \tau_i+\epsilon_{ij}$ Where, $\tau_i \overset{iid}{\sim} \mathcal{N} (0, \sigma^2_{\mu} ) \\ $ $\epsilon_{ij} \overset{iid}{\sim} \mathcal{N} (0, \sigma_{\epsilon}^2 )$ Further, we know the variance decomposes into components: $ \sigma^2_{Y} = V (\mu_i + \epsilon_{...
Consider two random variables $X,Y$. We say the joint distribution of $P(X,Y)$ is complete w.r.t. $X$ if the following condition holds: For all $y$, $E\{g(x)|y\}=0$ almost everywhere if and only $g(x)=0$ almost everywhere. A structural causal model (scm) over $(X,Y)$ is: $X \leftarrow f(Y,U)$, where $f$ is the struc...
I'm trying to make linear models in R, using the practicing datasets (sim1, sim2, sim3, sim4). So I used this code, mod1 <- lm(y ~ x1 + x2, data = sim3) mod1 And it printed this one. Coefficients: (Intercept) x1 x21 x22 1.8717 -0.1967 2.8878 4.8057 x23 ...
I am working on a problem for understanding the impact of a customer acquisition strategy by a company. Here, the company has run a few strategies for acquiring customers, which are online ads, billboards, referrals, organic. I am trying to estimate the ATE of the referral strategy, considering organic strategy as the ...
I was learning the mechanics of omitted variable bias in the context of linear regression. I built the following simple model with R: x_female = runif(100, 1.1, 1.4) x_male = runif(100, 2.8, 3.1) y_female = -5 + 5 * x_female + rnorm(100, 0, 0.3) y_male = -10 + 5 * x_male + rnorm(100, 0, 0.3) data = data.frame(edu = c(x...
I am training a CNN model which is used for a multi-label classification task. My training data set has 5000 data points, every data point is a 100000 long 1-D array. So the shape of my training set is (5000,100000). The CNN model. The picture shows the structure of my CNN model. The problem I have encountered right no...
Medicine has many examples where some score is derived from other clinical measures. Examples include BMI (which is a function of weight and height) and MELD (which appears to be based on blood tests). Often, researchers will want to describe the relationship between these scores and some clinical outcome. Regression...
I'm looking to make research on an algorithm that finds the maximum increase (gradient) on a 2D-landscape using the maximum values found on circles. The algorithm looks at the values on each circle to find the maximum value on it. Then it uses this maximum as the center of the next circle to do the same… in short: Sta...
I have been using OpenAI's ChatGPT 4 for some time now, for a variety of medical, educational, scholarly, and statistical tasks. I find it very informative, detailed, and flexible, and it can provide meaningful guidance on data analysis. Furthermore, it can perform some statistical analyses itself. (see for instance t...
Let a population $C$ consist of $N$ values $c_1, c_2, \cdots, c_N$, with $c_i\in \{0,1\}$. Let $X_1, X_2, \cdots, X_n$ denote a random sample without replacement from $C$ and let $Y_1, Y_2, \cdots, Y_n$ denote a random sample with replacement from $C$. The random variables $Y_1, \cdots, Y_n$ are independent and identic...
Clustering vs EFA which is a good tool for structural equation modeling to identify the influenced variables also to support the hypothesis?
I am working on a classification problem where I my machine learning model generate probabilities on two given inputs. One of this inputs will always have a ground truth of being positive and the other negative, the order is unknown. My prediction should be whether the first input is positive or negative. I am trying t...
In my stats course we derived Wald confidence intervals using properties such as asymptotic normality of the maximum likelihood estimator. This asymptotic normality relies on a statistical model being sufficiently 'regular'. We also defined 'regular' using a bunch of easily forgettable conditions. I am trying to do sim...
I need to convince colleagues that variable selection on the same data you use for inference is a bad idea. I know of some general references on the problems with model selection, listed below -- but none is really appropriate for people with limited time and no mathematical background. I'm looking for a short, punchy ...
My undergrad thesis has something to do with the relationship between emissions, mitigation-related official development assistance, and governance variables in chosen ASEAN countries. As such, my (unbalanced) dataset involves 9 countries and around 10-14 years worth of data according to estimated models. My variables ...
The terminology "inference" and "prediction" seems to have different usage across numerous sources and at my current work. In some places, it seems "inference" refers to the training step, i.e., inferring the properties of a model (e.g., beta coefficients in least squares) from the input (training) dataset, and then "p...