instruction
stringlengths
9
38.7k
Question: Let $Z_{i}$ ~ $N(0,1)$ be independent random variables for i = 1,2,... . Obtain the limiting distribution of $$\frac{1}{\sqrt{n}}\Bigl(\sum_{i=1}^n\Bigl(Z_{i} + \frac{1}{n}\Bigr)\Bigr)$$ using moment generating functions. So far I have: Let $Y_{n}=\frac{1}{\sqrt{n}}(\sum_{i=1}^n(Z_{i} + \frac{1}{n}))$ $\\M_{y...
I'm trying to help a colleague with a proposal to assess the impact of an intervention (let's call that "Variable A") and understand why the intervention is working. The intervention has three conditions (one of the conditions is a control group). My friend thinks that the intervention will impact Variables B, C, and ...
I have recently been looking through an Ipython notebook that analyzes the Iris dataset. At one point in the notebook I read the following: I'm confused about this statement. Why would delteing these 5 rows bias our results, and how would mean imputation help with this? Thanks
Noob here trying to make sense of log odds calculation. I am trying to do some transformation on unemployment rate data. I read one paper that suggested performing log odds and this is denoted by: x(t)=log(u(t)/(1-u(t) )) When i applied that transformation as is, I get negative unemployment values. Is that normal? une...
Let $x_i's$ and $\epsilon_i's$ be iid $\sim normal(0,1)$ i$i=1,2... n$ $n>=3$ The objective is to find the MLE for $\theta$ in $y_i=\theta x_i+\epsilon_i $ and check if it is unbiased. The MLE I got is $\theta^*=\frac{\sum_{i=1}^ny_i}{\sum_{i=1}^nx_i}$ When I try to check for unbiasedness, i run into a problem: $E(\the...
Let's say I am taking a sample size of n=1000 of a country population, and every one of them decides with '1' (for a specifc political party) or with '2' (for another political party). Which distribution is given if I want to calculate the confidence interval for a proportional value pi?
I want to know how to show that $$p(a) = \int \delta(a - w^T x) q(w) dw$$ is gaussian, where $q$ is gaussian and $x$ is fixed, and $\delta$ is the dirac function. Everything below is just some motivating background and thoughts on the problem. In bayesian logistic regression, we end up with a posterior distribution on...
Currently I'm doing research about distribution. I am trying to find the best distribution fit to some continuous data. I'm using 3 goodness of fit tests, namely Kolmogorov-Smirnov (KS), Anderson-Darling (AD) and Cramér-von Mises (CVM): library("fitdistrplus") library("actuar") x<-c(1.89,5.73,5.27,6.77,1.08,7.5,4.24,1....
I'm trying to do some analysis on customers behavior. Basically, I have information on customer's loyalty points activities data (e.g. how many points they have earned, how many points they have used, how recent they have used/earned points etc). I'm just wondering how should I go about clustering customers based on th...
I am trying to build a CNN from scratch to understand how it works. I am having problems designing the convolution layers, specifically with its depth. Suppose that each image I put at the input is in grayscale and of size 256x256. That means that the initial dimension is 256x256x1. According to what I've read and unde...
Do we need to mention we used the cross-validation technique in our statistical section of the publications? If yes, is there any standard format for how to state this?
I am running normal glm model in R, where glm(outcome ~ treatment + covariates, family=binomial(logit), data=data) Pooled model with fixed effects of panel wave shows a significant effect of treatment on the outcome variable. However, when I conduct the same model by panel wave, glm(outcome ~ treatment + covariates, ...
I was going through this this as an introduction to gradient boosting to get an overview. The algorithm described for regression is Let n be number of samples and be the response variable. and be the model/prediction for be the Loss for , Let it be least squared error. Hence negative gradient w.r.t will be S...
I'm a bit confused on interpreting the coefficient estimates for a multiple linear regression model with categorical variables and their interaction. The dependent variable is pesticide levels (DDE ng/g) in songbirds. The independent variables are Status (migrant vs resident) and location (Texas, Yucatan & Costa Rica)....
I have asked N individuals for their estimate of the presence and quality of phone numbers in a database, i.e. missing, wrong, correct. I have received triples of percentages, e.g. (20, 30, 50) How do best summarize the result and provide confidence intervals?
I have a problem understanding the solution of an exercise: $F_x(x) = 1-(\frac{\sqrt{3}}{2}x + \frac{3}{2})^{-3}$ for $x \geq \frac{-1}{3} \sqrt{3}$, $0$ elsewhere and i am asked to compute the expectation. I know: $\int{}^x_{\frac{-1}{3} \sqrt{3}}$ $f(x)dx$ $:= F(x)$ $\int{}^\infty_{\frac{-1}{3} \sqrt{3}}$ $f(x)dx$ $=...
I found an outlier using the outlierTest function in the car package. However, I can see from the results that the Externally Studentized Residual and p-values. This is a result. This indicates that the 718th observation has an outlier. right?? The code to derive the result is as follows. credit<-read.csv("german.csv"...
We, bayesians, usually use non-informative priors for the parameters like $p(\beta)\propto 1$. Someone told me that such a flat prior is informative to some extent for non-linear functions of the parameters $\beta$. I thought this sort of prior was always uninformative for any kind of functional form. I would apprecia...
I have a data set with 22990 samples. I am training a binary classification model (logistic regression) and use 67%/33% splitting for train-validate/test sets. The model is 10-fold cross validated. To assess the stability of the metrics on the test set due to random splitting, I repeat the train-validate/test procedure...
Assume that $A$ and $B$ are two independent random variables both following a normal distribution with a zero mean and a variance $\sigma^2$. How to calculate the distribution of $m \cdot (A+B)^2+n \cdot \mathrm{abs}(A-B)$ ($m,n$ are constant)?
Let $(x_1,y_1)(x_2,y_2)... (x_n,y_n)$ be independent pairs such that $y_i=\theta x_i+\epsilon_i$ where $x_i$ and $\epsilon_i$ are iid Normal (0,1) for $i=1,2..n$ It was previously computed that $f(x,y)=\frac{1}{2\pi}e^{\frac{-1}{2}x^2-\frac12(y-\theta x)^2 }$ And that the MLE for $\theta$ is $\theta^*=\frac{\sum_{i=1}^...
I'm using lme4 package to run a mixed-effects logistic regression. I have a glmer model, and to assess its goodness of fit I created the binned residual plot. Unfortunately, 95% of the bins are not within the +/- 2 limit lines. So what to do now? Here is the plot: I tried to use the influence.ME package to detect the ...
I would like to know CAGR() on ratio variables is possible. For example, A = num of item sold / number of customers, and I have series of A ratios for five years. Then, is it okey if predict sixth year of ratio A using CAGR?
I am testing a hypothesis with emotion as my (Y) dependent variable. I am wondering if you can refer to emotion as a deep/broad dependent variable? Becausse it is may be influece by a broad range of factors. Definition of broad: "covering a large number and wide scope of subjects" I wanna say that the variable is being...
Let's say I have two independent random variables $X$ and $Y$. Because of this independence, I can evaluate (for example) the following functions: $$f(X,Y)=X+Y$$ $$g(X,Y)=|X-Y|$$ But I can't necessarily extend this independence property and say that: $$f(X,Y)$$ and $$g(X,Y)$$ are independent, can I (and therefore evalu...
How can I transform multi response probabilities to a logit space such that: $$ \pi_{i,j}=\frac{exp(p_{i,j})}{\sum^J_{k=1}exp(p_{i,k})}$$ For the binary response this transformation is: $$ p_{i}=log(\frac{\pi_{i}}{1-\pi_{i}})$$ But is there a formula that generalizes to multinomial respons or does I have to resort to ...
In an answer to another question it is asserted that the Welch correction to the t-test makes it non-parametric, and this assertion isn't challenged by a frequent contributor with a deep level of statistical knowledge. In what way does the Welch correction make the test non-parametric? Is it simply that the change in ...
Let $X_1, X_2,..., X_n$ from $N(0,\sigma^2)$. What I want to get is not $E(median(|X|))$ , but $E(median(|X_1|,|X_2|,...,|X_n|))$ Reason why I need it is because I'm studying LOWESS, and in using bisquare wieght function, weight of residuals within the 6m(m is a median) will be 1, elsewhere its weight would be 0. And ...
I am trying to forecast a time series based on other monthly time series variables. The variables are: endog -> number of users; exog -> marketing campaigns(in euros), Number of Updates, number of partners, Google Search views and Release(binary). I found that the VAR model is a good approach to do that. However, on...
I am trying to enhance the contrast in the images I get after scanning a surface using Thermography (Principal Component Thermography ~Rajic, which is basically an application of Principal Component Analysis) to see the defects clearly. But my question here is to understand the difference between empirical orthogonal ...
I would like to evaluate models based on their goodness of fit with data. Each model produces predicted values that should be correlated to the data but are not necessarily scaled the same way. So far I have compared different models by looking at the correlation between predicted values and the data but correlations d...
can anyone please give me some idea or links as to how the autoregressive neural networks work for time series? I tried to go through the thesis of Sebastian Dietz, but I could not able to understand the network intuitively. Any help is appreciated, thanks in advance.
I've uni-variate demand data (Weekly data for 2 years), and wish to do a directional forecast based on the data. Magnitude of the forecast is not important here, but directional accuracy is of foremost importance. Please suggest what robust methods can be chosen?
There's a deep learning course on Udacity made by Google Brain. One of the course's videos talks about validation and test sets size. That video explains that a change in 30 samples is usually significant, but no demonstration is provided. I want to know why they say that a change in 30 samples is significant and wher...
I have a categorical dependent variable (emerged/not emerged) and two predictors 1) treatment (continuous time, 28 to 35h) and 2) group (test/control). I want to know if test group emerges earlier than control group. I have a n=20 in each group+treatment, but I get structural zeros as control group never emerges before...
The wikipedia page for multilevel model states: The dependent variable must be examined at the lowest level of analysis. I am interested in predicting measures at higher levels of analysis. In simple cases, I understand there are ways to aggregate lower level data. However, if we had unequal number of lower level o...
While reviewing the basics of ordinary least squares (OLS) regression in a matrix context, I stumbled upon the variance covariance matrix of the residuals. In an OLS context, the population model is usually assumed to be (for a cross-section of data): $ \begin{aligned} & y_i = \textbf{x}_i' \beta + u_i. \end{aligned} $...
For a linear regression model, the data for a continuous input variable X is such that 90% of the data lie at a value far short of the maximum possible. For example, say the range of X (in months) is between 1 and 100,the median of X is 25 and the 90th percentile is 60 months. Most of the input X values (90% in the exa...
This might be a little unusual, but please bear with me. I'm working on a theoretical exercise in chromatography (chemistry), a method that is used to separate different molecules. It is assumed that after performing the chromatography procedure, two different molecules separate from each other along a one-dimensional ...
I understand that the forward pass of a feed-forward neural network can be thought of as a hidden layer-wise composite function, and backpropagation works by recursively applying the chain rule to that composite function to find local gradients. What exactly does each application of the chain rule during backpropagatio...
I'm trying to compare a set of four linear mixed-effect models (run in R, lme4::lmer), and, judging by what I've read, there seems to be some debate as to the best way of doing so. I was hoping someone might provide some much needed input. I started with two models: m1 <- lmer(IA_DT_PC ~ CONDITION * IA_LABEL + (1 | PAR...
I am trying to prove a result: intuitively, the GMM estimator should have a larger variance under homoskedasticity than LS and vice versa under heteroskedasticity. We are working with various probability (VP) sampling with $b(X_i)$ being the probability of $i$th observation to be retained in the sample, so, in order to...
Is it a big no no to double data in order to increase sample size? I have a sample size of 27 which really doesn't give me much to work with when running tests. Would this be statistically incorrect? Probably an easy answer to this but I can't find anything about it.
I have a data set with 45 responses for an open ended question from a survey. The two raters classified each of the response into 7 nominal categories. Each rater was allowed to select more than one category to classify each response. That is rater 1 can say a response can fit into category 1 as well as category 7. Ca...
Copula data is the data in [0,1] with unifrom margins. Also, pseudo data is in [0,1]! In copula packages copula and VineCopula, we need to transform the data to be pesudo observation even if we generate them using rCopula, Why? If I use copula model, then when I can use copula data and when I need to use pseudo data? A...
Background What equations are used for calculating a two-way ANOVA across 4 groups consisting of genetic knockouts ($KO$) and wild-type ($WT$) specimens some of which have undergone treatment the rest have been maintained as a control: $KO_{control}$ X $WT_{control}$ X $KO_{treatment}$ X $WT_{treatment}$ The control gr...
I have a set of observed ($X$) and theoretical ($Y$) data of length $N$: $$X:\{x_1\pm \sigma_{x1}, x_2\pm \sigma_{x2}, ..., x_N\pm \sigma_{xN}\}\\ Y:\{y_1\pm \sigma_{y1}, y_2\pm \sigma_{y2}, ..., y_N\pm \sigma_{yN}\}$$ I know that their relationship is linear, and I need to find the best fit $(a, b)$ parameters for $y ...
Let's say I have a model of the form: mdl <- lm(y ~ x1 + x2 + x3, data=dat) I am interested in knowing the relationship between x3 and y when x1 and x2 remain unchanged. To do this, I do the following: dat$x1 <- mean(dat$x1) dat$x2 <- mean(dat$x2) dat$x3 <- dat$x3 pred <- predict(mdl, data=dat) mean(pred) If I inte...
Suppose I have a binomial test, with 9 successes in 12 trials, expected p=1/3. In other words, in R you might do: binom.test(9,12,p=1/3) Now, I'm under the impression that relative risk is an appropriate effect size measure. In this case, RR=0.75/(1/3)=2.25. First - is this actually an appropriate effect size measure?...
In ordinary least squares, for example in an experimental design case, I obtain the regression coefficents by: $ \hat B = {({X^t}{X})}^{-1}X^ty$ Then, my null hypothesis for each coefficent is: $H_0 : \hat B_i = 0$ $H_1 : \hat B_i \neq 0$ Next, by assuming the coefficents follows $t$ distribution: $t_{calculated} = \df...
I have 1 week of data formatted in the following way in R. $$ \begin{array}{c} \text{Category1} & \text{Category2} & \text{Category3} & \text{Date} & \text{Metric1} & \text{Metric2} & \text{...} & \text{Metric7} \\ \hline X & a & 1 & 7/1/17 \\ X & a & 2 & 7/2/17 \\ X & b & 1 & 7/3/17 \end{array} $$ My goal is to predic...
To demonstrate the correctness of a frequentist estimator, it is common to simulate an experiment N times (with N being large), then show that 95% of the resulting N confidence intervals cover the true parameter values. What's the equivalent simulation exercise for Bayesian model? The Bayesian credible interval quantif...
Problem Have a time series of data and want to look at changes over long periods so want to use overlapping changes, then want to compare these overlapping changes to overlapping changes from a normal distribution in a QQ plot. Questionso far I have had to resort to creating overlapping data via Monte Carlo from a norm...
I got a test data set to work on in order to implement feature scaling and get better results with gradient descent. It looks like this: x_0 x_1 x_2 y 1.00 1.31 -2.26 3942934 1.00 -1.9 2.32 2384832 ... ... .... ... If you are wondering why the x_0 feature is always 1, it's because as I use a mult...
I am looking for an appropriate statistical test that will compare two frequency distributions, where the data is in the form of two arrays (or buckets) of values. For example, suppose I have two distributions, where A, B, and C are observed outcomes from a software logging system (such as whether customers clicked on ...
I have 2 questions. 1)My Bayesian output is providing some trouble. I have data that will vary across 5 countries. This means my group level has a small n of 5. This results in my data hovering around the mean and provides different results from the frequentist. When trying to decide how to interpret the data and ul...
One answer to this question (why squares in variance?) explains, that it is derived from the assumption, that the error is normaly distributed. Unfortunatly I fail to see, how exactly this leads to the definition of the variance/sd.
for example the data has a binary response y, a numerical predictor week, and some categorical/factor predictors: ap, hilo, ID, trt: y ap hilo week ID trt 1 y p hi 0 X01 placebo 2 y p hi 2 X01 placebo 3 y p hi 4 X01 placebo 4 y p hi 11 X01 placebo 5 y a hi 0 X02 drug+ 6 y a...
I have u survey where respondents answer with I use/I don't use on 30 questions (30 dependent variables). One independent variable is age (16-74). I have a large sample N=1138 (unequal groups). The question is whether Point-biserial correlation is the right test to find a correlation between each pair of variables (sca...
Let $X= B(n,1/2)$, $Y=B(n,1/2 + \delta)$, for a small $\delta >0$ be two Binomial Distributions. Question 1. I am looking for a lower bound on the Total Variation Distance the two Binomials $X,Y$. My attempt at deriving a lower bound is the following: Since $X, Y$ have huge variance we can approximate each of th...
My understanding of fine-tuning is to take a pre-trained model trained on a similar but separate dataset and update the weights of a portion of the model on your dataset. I'm not sure if this is called something entirely different, or if it's a terrible idea.. but say you have a dataset for a classification task where...
I was assuming I can until I come across the concept of compositional data. Now I'm confused. My DV is a binary outcome, my IVs are proportions, say: A, B, C where A+B+C=1. I was going to run a logistic regression of DV on A B, as if treating C as the reference category in a logistic regression of DV on an IV with 3 ca...
I did some Monte Carlo simulation based on empirical data and would like to know if there are any quantitative approach to evaluate results' convergence. So far, I am visually check the cumulative mean value for my outputs. Below is a simplified my MC approach and thanks for any suggestions: Variable A is a 100k*1 vec...
I have sets of aggregated evaluation data with the counts for each question (Q1/Q2/Q3) / response (scores of 1-5) option. 1 2 3 4 5 <<< SCORE Q1 0 1 5 7 15 Q2 0 0 3 4 21 Q3 15 0 3 4 4 I'm trying to find a way to easily cal...
Hello Cross Validated, I am trying to simulate autocorrelated, lognormal values such that their SD matches that of an existing time series. I plan to generate these values using the following function: $$ X_t=\rho X_{t−1}+ \sqrt {1-\rho^2} \varphi $$ where $ \varphi \sim N(0,\sigma^2)$ I have an observed time series f...
I am confused about this. Are they the same? There are some problems in which I am asked to find the Uniformly Minimum Variance Unbiased Estimator (UMVUE) first and then check if it achieves the CRLB. Yet from what I've read, I understand that an unbiased estimator that achieves CRLB is UMVUE. Thanks.
Mixed effect models do not assume gaussianity of the data, they assume normal and constant-variance residuals. However, I run into an example that is confusing me. I am trying to model the changes of muscle activations (integral of electromyographic signal, variable emg) over days. These data are highly skewed, and I t...
I'm having some trouble getting reasonable responses from a polynomial regression. When I used linear regression I got a reasonable error, but when I switched to Polynomial regressions the error jumped up by almost seven times. It could be because it's just a bad model, but I suspect that I'm doing something wrong. ...
With different data, we need to use different correlation function ,such as pearson,phi, Cramér's V. Correlation is a basic statistic method. Is there a package include pearson,phi, Cramér's V and other correlation function? I googled but cannot find a solid and completed answer.
Say we have two independent random variables $X$ and $Y$. Furthermore, say we have two functions $f(X,Y)$ and $g(X,Y)$. Now, we know $f(X,Y)$ and $g(X,Y)$ will not necessarily be independent. So, in order to derive the distribution of $$Z=f(X,Y) + g(X,Y)\quad\quad(1)$$ I need to know the joint distribution of $f(X,Y)$ ...
My data is reported at the household level (i.e. electricity consumption for the whole house) but it also has some descriptive data of the individuals within the household (i.e. there are 2 individuals in household A, aged 15 and 45). For example: What is the best method do determine what impact 15 year olds have on ...
For couple of weeks now I've been dealing with a classification problem involving a sparse dataset. To be more specific, for each input $x^{(i)}$, knowing that I have 1000 features, I've only 5 to 10 values of $k$ such as $x^{(i)}_{k} \not= 0$. Up until now, I've tried stochastic gradient descent (SGD), momentum SGD, a...
I am comparing two ordinal variables (i.e., two independent Likert items). I've used a chi-squared test to test significance of a relationship between the two, and a Pearson correlation (I'm expecting the two variables to have a linear relationship) to test the strength. I have a sample size of 250 and I'm looking at a...
Let $X_1,X_2$ be a sample from $Geo(\theta)$ ($0<\theta<1$). I need to find the UMVUE for $\theta$. I started with establishing that $Y=X_1+X_2$ is a sufficient complete statistic for $\theta$ and $Y\sim NB(2,\theta)$. From the Lehmann–Scheffé theorem, this means that Y is UMVUE for $E(Y)=\frac{2}{\theta}$. But that is...
How can i test (for example in R) the significance of interaction term in this example regression: Income = a + b1*Education + b2*White Collar + b3*Education*White Collar + Error Education is dummy variable (1=education, 0 no education) and white collar (1=white collar, 0=no white collar). I want to test whether the e...
Define the lasso estimate $$\hat\beta^\lambda = \arg\min_{\beta \in \mathbb{R}^p} \frac{1}{2n} \|y - X \beta\|_2^2 + \lambda \|\beta\|_1,$$ where the $i^{th}$ row $x_i \in \mathbb{R}^p$ of the design matrix $X \in \mathbb{R}^{n \times p}$ is a vector of covariates for explaining the stochastic response $y_i$ (for $i=1,...
I have a bag of 60 marbles(N=60). I can only examine 30 random marbles (n=30) at a time. After each trial, I replace the sampled marbles back in the bag. How many trials will it take for me to examine each marble at least one time?
I've been studying PCA, and some of the terminology isn't very clear. I do not understand what they mean when they refer to a "principal component". One definition I have seen calls it the new coordinates after the transformation the original data. Another calls these new coordinates the principal component scores. Cla...
My Study is the impact of Ebanking on Financial Performance of Public and Private sector banks in India and I am taking ROA, NIM as dependent variable and ATM Transactions, POS transactions, NEFT Inward Transactions, RTGS inward Transactions, ATM, Debit and Credit Cards as independent variables. Through, Hausman test, ...
I'll start with the normal case, finding the probability for each face of a dice: Start with uniform prior - Dirichlet distribution with all alphas 1 Roll the dice, and depending on the result, compute the posterior distribution The variation of the problem that I'm dealing with is: Choose a number randomly, say 2 R...
I am doing a retrospective chart review comparing old treatment regimen (120 shots of laser) to a new treatment regimen (160 shots of laser). The main outcome measured is intra-ocular pressure (i.e. dependent variable). Therefore my independent variable is dichotomous, and my dependent variable is continuous. The pro...
Certaint tests, such as the t-test, require a normal distribution. Yet I have never quite understood what exactly has to be normally distributed. Let's use age as an example. Age is rarely normally distributed in the population: Yet, in a specific sample age might very well appear normally distributed. Here is an exam...
I should say that this question has nothing to do with regression. I am familar with the Sums of Squares Decomposition when there is an intercept in a regression but I'm not referring to that in this question. The setting is the following: Suppose I have a series of actuals, $Z_t$, and two sets of forecasts, $X_t$ and ...
Let $Y\sim NB(2,\theta)$ represent the trial on which the 2nd success is made. From a previous question I posed in which many people here helped, I got the UMVUE for $\theta$ as $\frac{1}{Y-1}$. Can someone point me towards the right direction in getting the variance of this estimator? Thanks.
The plan was to run a simple THREE-WAY-ANOVA on my data to analyze the effects of 3 factors on 1 dependent variable. I have 8 treatments in total, which results from 2 different manipulations of each factor. The Shapiro-Wilk test showed, that I have a normal distribution, which should be fine. The Problem comes up wit...
how to find probability cut off in logistic regression. by considering the Sensitivity, specificity and accuracy on different cut off values. cut off 0.3 0.35 0.4 0.45 0.5 0.55 Sensitivity 66.93% 57.48% 44.09% 30.71% 23.62% 18.90% Specificity 5...
I'm having a similar problem to the following post (Feed-Forward) Neural Networks keep converging to mean. The model is built with Deep Neural Network library in Matlab by Masayuki Tanaka. The library is designed for classification. However, I've managed to change the last layer's transfer function to linear, so that t...
I have data having companies details with how many position opened on particular date and their due date.I want to find likelihood of requirement on which particular time/season (if I take month) company requires candidates for which position? Which type of machine learning algorithm should I use? For example, From a...
Here are some example data: +----------------+-----------+---------------+--------+-----------------+ | Version | Converted | Not Converted | Total | Conversion Rate | +----------------+-----------+---------------+--------+-----------------+ | Original | 300 | 10,000 | 10,300 | 2.9% ...
I have question about the 'setup' for the data for Cox PH survival modelling in case of modelling time to 'breakdown'. My data are houses and roof repair. For each house I have either the age of the house when it was repaired (Event_01=1) or, if was not repaired, the age at the time of sampling (Event_01=0). So I have ...
I know that there is at least another page with inputs on this problem but I have some additional questions not included in them (I think) and I don't know if I should post in that thread instead of making a new one. Anyway, here's the question. I have $X_1,X_2... X_n$ iid $Normal(\theta,\theta^2)$, $\theta>0$ The requ...
It is straightforward to model "direct" changes using a mixed-effects model. Let's assume we have 3 correlated measures over time from a subject, y1, y2 and y3. One can model these three outcome variables directly by regressing against time (independent variable) in both random and fixed effects. However, I wonder how ...
Imagine I have a large text document, I want to be able to highlight some parts of the document if they belong to a category I've specified. I'm trying to figure out what's the best machine learning approach to do that. Currently I'm using a simple Naive Bayes algorithm, but I've heard results can be improved with LSTM...
I am wondering if you can use ANOVA with data converted in percentages. When working with cellculture in biology, you have a 3 test rule: 3 independent tests should each show the same result - at the end you evaluate all 3 tests together with a ANOVA + posthoc test. As the inter-test variability is quite high in cellc...
Completing the square in the context of a multivariate gaussian distribution is pretty straightforward (here is a good explanation). But what if we are talking about a matrix normal distribution? Consider the following matrices: $Q_1$ and $H_1$ are ($k \times k$), $Q_2$ and $H_2$ are ($l \times l$) and all of them are ...
I am trying to determine what is the purpose of including the intercept term in ridge regression. In what situations should I include the intercept term ? And in what situations should I not include the intercept term in ridge regression ?
I would like to analyze whether blood pressure is higher in winter than in summer through time series analysis: in particular, I would like to use repeated/pooled cross-sectional time series analysis in my sample. I want to know: I suspect that blood pressure could increase together with aging in my sample, so, how can...
Does anyone know when PROC REG with selection = stepwise in SAS gives t-values equal to infinity? I am getting an $R^2 = 1$. My data set has $n = 50$ observations and about $p = 20$ independent variables.
I want to avoid misusing normality tests where a large enough sample size will highlight any slight non-normality. I want to be able to say that a distribution is "normal enough". When the population is non-normal the p-value for the Shapiro-Wilk test tends to 0 as the sample size increases. The p-value isn't helpful i...
The task is to build a regression model for individuals. I have all the independent variables for each individual, but the dependent variable only as an aggregates on group-level. Lets say, I am trying to predict the score a student will achieve at some test. I have information about the student that can be used as pre...