instruction
stringlengths
9
38.7k
If I have two factors - 'A' and 'B'. Each factor has three levels (A1,A2,A3,B1,B2,B3). If I have already performed t-test for each pair such as (A1,A2). All result suggest no significant difference. Do I need to perform ANOVA and even post-hoc test? From my opinion, the correction of post-hoc is used to minimize type I...
I have a data set where soil was sampled in a given area. The area has a pond in the center, and the pond area soil was sampled at a much higher rate than the other soil in the area. Certain constituents are more abundant near the water, so summary statistics tell an inflated story of the soil values in the area. I wan...
I have a dataset with medical images. I want to implement a network for super-resolution using GANs. One of the criteria of the optimisation is a perceptual loss. For that I will use a pretrained vgg network, trained on imagenet solely to extract features. Essentially, this vgg network is used as a feature extractor. I...
What are the differences between Bayesian optimization and multi-armed bandit optimization? Are the problems equivalent when multi-armed bandit's action space is infinite?
I want to compare two data samples which come from continuous distributions. However, the data is highly skewed and t-test is obviously not a choice. As an alternative, I wanted to use the MWW test for locational shift, but one of the assumptions is that the distributions of the groups should be similar, but in my case...
I am trying to understand what the black point, thicker horizontal bar, and thinner horizontal bar mean when I use the stat_halfeye() function. I can't find it on the package website. I'm pasting an example from my data below.
Is it a reasonable approach to train a probabilities classifier by optimizing a threshold-independent metric such as AUC, and then using the trained classifier to calibrate the decision threshold value on a train/validation (which used to choose the trained classifer's hyperparameters values)or both, to maximize a thre...
Three random variables, $X_1$, $X_2$, and $X_3$, are complex Gaussian with a correlation matrix $\Sigma$. Additionally, three random variables, $Y_1$, $Y_2$, and $Y_3$, are also complex Gaussian with a correlation matrix $\Sigma$. Furthermore, the correlation between $(X_1, Y_1)$, $(X_2, Y_2)$, and $(X_3, Y_3)$ is $\rh...
I am currently conducting a study using spatial occupancy models. To select the most predictive model, I am employing a k-fold cross-validation approach. I am aware of the potential pitfalls of over-parametrization, such as overfitting, and decreased interpretability. However, I am still uncertain about how to quantify...
I am doing hypothesis test on the data to compare group A and B and there are multiple variables that I tested. Due to the distribution of some of these variables is skewed and there are some extreme outliers, I used non-parametric approach, i.e., Mann-Whitney U test. I would like to include the table as follows. S...
For the truncated normal distribution below: $$ {f_X(x; σ, a, b)} = \frac{1}{\sigma}\frac{φ(\frac{x-µ}{σ})}{Φ(\frac{b-µ}{σ})-Φ(\frac{a-µ}{σ})} $$ $$ a = 1; b = ∞; σ = 2 $$ I need to calculate the expected value of X for the general µ and for when µ = 2. I understand that φ and Φ represent the pdf and CDF of a standard ...
Question I am struggling with understanding how to run a simulated power analysis for GAMMs. Though my planned studies will include more variables, the core issue I'm trying to work out is to simulate the following: A binary outcome y. However, since I don't know how to correlate y here, I have opted to just use a Gau...
I am fitting a second order growth model with 7 time points on Mplus. When I estimate the model with autocorrelated residuals in it the model will not run because of identification issues. (when I remove the code for autocorrelated residuals it runs, so it is about sample size, I suppose) I want to know how not account...
I know that as long as the population moments exist and the data are identically distributed the raw sample moments, the central sample moments and the sample quantiles are consistent. This concept of consistency also carries over to functions of random variables. If g is continuous in a and h in (a,b). Now I am tryin...
I want to implement a neural network in Pytorch for medical image segmentation. I should normalise my data. Should I apply a min-max scale (range 0 to 1) before applying the normalisation or should I apply the z-score normalisation directly? What is the best approach if the dataset comes from a single source of data? ...
Does the least squares method for regression assume that the regressors and response are continuous? In particular, I would like to fit a regression line for ranks. Can I use the least squares method to estimate the regression parameters? What alternatives do I have if these assumptions are violated? Any references to ...
In econometric analysis in some cases, such as models with interaction terms, multicollinearity between independent variables may exist. In such cases, some researchers suggest "mean-centering" strategy (subtract mean from the variables which appear as main effects and constitute the interaction terms). Usually, in the...
I'm learning about mixed models because in my job we are trying to advise researchers about statistical questions they might have. So long I've been learning using the demidenko mixed model book and the datacamp course on mixed models.. The thing is, I want to explain to my boss why should we use mixed models for neste...
In classical factor model, assume the random vector $X = (X_1, \cdots, X_p)$ has the covariance matrix $\Sigma$, we want to write $X$ in the form $X = LF + e$, the assumptions are $Var(F) = I_r, Cov(F, e) = 0, Var(e) = \text{diag}(\sigma_1^2, \cdots, \sigma_p^2)$. To solve the classical factor model, we need to find th...
Imagine that I have one variable from a 7-point Likert item, and my predictor is a categorical variable with three levels. Imagine that my sample size is 100. Can I run a linear regression lm(ordinal_var ~ categorical_pred), or should I use something like a cumulative ordinal analysis? What if my sample size is 10,000?...
Let $X_t = C \cos(2πw t) + D \sin(2πwt) + U_t$ where $C, D$ and $U_t$ are Gaussian random variables with unit variance, and where all the variables are independent, and $U_t$ is white noise. Determine the integrated spectrum associated with $X_t$. I first found the autocovariance that is $$\gamma(\tau)=\cos(2 \pi w \ta...
We will start a study in order to validate an algorithm for image segmentation for medical use. We will use Dice Sorensen coefficient in order to measure the agreement/ similarity between the algorithm, and medical professionals. Since there doesn't seem to be much published/ in the literature about this, I wanted to a...
I have a dataset consisting of historical journey data where individuals travel from point A to point B. During their journeys, they may encounter varying numbers of animal sightings, including snakes. The dataset includes attributes such as time, attribute_1, attribute_2, attribute_3, attribute_4, and a binary label i...
Trying to apply changepoint detection. Many algorithms such as Binary segmentation and PELT use sigma ( std deviation ) as a parameter if the number of changepoints are unknown. Confused if sigma is std deviation of noise or std deviation of time series data itself. Also is there a formula to calculate it as std deviat...
Does anyone know if there is a difference between K nearest neighbor (KNN) and nearest neighbor algorithm (NN)? And if they are how are they different? So far all I know is that NN is unsupervised learning while KNN is supervised learning.
So I have some data of 16 patients who were subjected to a test a different number of times (some only once, some as many as 7 times). The response variable is definitely nominal (I wasn't involved in the experimental design or in conducting the tests at all), and this is high dimensional data because there are at leas...
When we estimate parameters with the maximum likelihood method, then we can estimate the standard error with the Hessian. The code below tries to estimate this for the case of the question: How to compute the standard error of the variable $- \frac{\hat{\beta}_0}{\hat{\beta}_1}$ of a logistic regression? I did this, be...
I'm working with some survival probabilities, and i've gotten kind of confused. For simplicity, the death rate ( mu(x) ), where x is age in years, are considered constant in intervals of 1 year. In my assignment, the probability of surviving 1 year at age x is given as: p(x,1) = e^(-integral[0,1] mu(x,1) ds). Since mu ...
I study the triggering of the difficult form (ineffective two treatments) in patients with joint disease. In this retrospective study, we have collected the dataset of ~150 patients diagnosed with this difficult form and 200 patients with remission (good effectivity of the treatment) – as control. Selected patients wer...
Can you please explain to me how to calculate a minimum sample size (rated subjects) for Fleiss Kappa? I cannot find neither calculators to do this, nor some reference values. Thank you very much. G
I follow a procedure as described in this paper (https://www.mdpi.com/2076-3417/12/13/6681). Thus, I calculate separate SHAP values for the training and test sets within each outer fold across multiple data partitions in a nested cross-validation scheme. Then, these SHAP values are averaged across outer folds and data ...
I did a k-means cluster on a data set which looks at how well individuals scored on a test (y variable) given varying difficulty (x variable). I then started looking at the demographics of the individuals. These demographics were not considered in the cluster analysis--think location, age, gender. I started researching...
Does anyone know if it is possible to use the MCMC implementation emcee in python with only a single walker given 15 parameters? Or do I have to use a different implementation? I want to do this as I only need a single sample from the resulting posterior distribution and computation time is the biggest concern for me ...
I have generated a dataset with two covariates x1 and x2 and have fitted a gam model with k=5. The R code is as follows: library(mgcv) set.seed(123) n <- 30 x1 <- runif(n,0,1) x2 <- runif(n,0,1) noise <- rnorm(n, 0,1) y <- sin(2*pi*x1)+0.5*x2+noise model <- gam(y ~ s(x1, k=5) + s(x2,k=5), family = gaussian()) summ...
TLDR: I can't find a way to calculate the effect size needed to be inputted to Power Analysis to get the minimum sample size needed to 90% statistical significance as I can't calculate standard deviation Hello everybody, I'm stuck with the following dilemma: I'd like to do an AB test for digital marketing activities a...
I am running a RBS with 5 knots and I have 2 difficulties. I get only 5 estimates: 1 for the intercept, one for the linear term, and 3 for the knots. However, since I have 5 knots I should have 4 estimates and I don't understand why I get only 3. This is the first time I run the analysis and I am a bit struggling to ...
I'm a student, and I need to compare how different perform in a binary classification. I can freely choose any dataset for my work, but the specifications include to make A LOT of computing: many algorytms (logistic regression, networks, random forest, gbm, svm), stepwise for variable selection, repeated cross validati...
I am currently working on variable selection and came accross many methods which i tested. I tried one which i thought of, but never read about it. I would be curious if you know anything about it: What is commonly used is PCR: You use the projections of the individuals on the new dimensions which were calculated from ...
I am looking at weekly sales data and see that sales last week dropped by x%. I see that weekly sales do fluctuate quite a bit so not sure if this is indeed a problem. What statistical methods can I use to determine if the observed change is something I should worry about. One option could be to plot the pct change for...
Let $X_t$ be a stationary process with spectral representation $$X_t = \int_{\left[-\frac12 , \frac 12\right]}e^{2 i \pi f t}\,dZ(f).$$ Assume that $E\lvert dZ(f)\lvert^2=\lvert G(f) \rvert^2\,dF(f)$ where $F$ is a distributional function. Show that $$Y_t =\int_{\left[-\frac12 , \frac 12\right]}\frac{e^{2 i \pi f t}}{G...
I am wondering what statistical significance test I can use for the following use case but I cannot find one. The data consists of more than two groups of unequal size where multiple samples in a group can come from the same individual and the outcome variable is non-normally distributed for every group but an individu...
I've learnt basic stats but I'm a bit confused on how I should so this, I'm gonna try and explain it as best as I could. So I had participants doing a driving simulation which includes two different alerts inserted at different times throughout, and I have 3 different programs to counterbalance the order of the alerts....
I have a glmer (library lme4) logit model that I conducted in R. I have very basic knowledge in stats and glmm models are completely new to me. My Models in R basically are like this: mylogit_inst <- glmer(success_1 ~ inst + (1|fish_ID), data = results, family = "binomial") mylogit_s <- glmer(success_1 ~ inst_diff_1 ...
The Montacaro simulation method is used to solve the control limit of the control chart, how to determine the randomly generated data streams, and whether it needs to be generated according to the observed historical data; Further, why did you choose 5000 points, and are any other values of any size acceptable. When I...
Are there any recommendations on procedures to identify relevant variables for a partial correlation between $r(X, Y)$? To me, it appears most reasonable to only include those $Z_1, Z_2,\ldots,Z_n$ as covariates that are correlated with both $X$ and $Y$.
I've fitted an ordinal logistic regression model in R using MASS::polr and I am looking to compute confidence intervals for the fitted coefficients. Here is the (cropped) model output: polr(formula = response ~ group, data = df, Hess = TRUE, method = "logistic") Coefficients: Value Std. Error t valu...
This may be a dumb question but will ask here: We launched an experiment that has 3 groups Treatment A vs Treatment B vs Control measuring a metric clicks per user. We did our power analysis before we launched to calculate our sample size required, however, due to a lot of things that happened, we've had to alter our m...
I am trying to solve for the posterior of two parameters $\theta_1$ and $\theta_2$. I have priors $N(\mu_1, \sigma_1^2)$ and $N(\mu_2, \sigma_2^2)$ for $\theta_1$ and $\theta_2$ respectively, where $\mathrm{Corr}[\theta_1,\theta_2] = \rho$ (i.e., $(\theta_1, \theta_2)$ is a bivariate normal with correlation $\rho$). I ...
In machine learning we are taught to always do validation of some sort, for instance by creating a hold out validation set that is used to test the performance of the model. However, in some use cases we are interested in understanding the underlying relationship between variables. If we take a linear regression for in...
He's the situation, say we have n data points. There are two treatments A and B. If treatment A was better than treatment B we give a score of 1, in the opposite case we give a -1, and if there is no perceived difference we give a 0. How to then test if one treatment is "better" than the other? I've looked into Mann...
I'm employing a nearest neighbor algorithm to find a real NFL game that is the most similar to my projected stats. Not all statistics have the same predictive-importance when projecting the outcome of an NFL game (e.g. total passing yards will predict the final score more than, say, number of penalties), so I want to w...
Chose hopefully a catchy title :-) I am looking for a simple algorithm to detect outliers caused by measurement errors So assune I have given a multivariate sample (30 dimensions) and I want to detect outliers univariately, so I don't want to say that the whole 30-dimensional observation is an outlier but I want to say...
I am working on a binary predictive model using logistic regression and XGBoost and had a dataset with mirrored training sets. For example take these two dataframes df_1 = pd.DataFrame([[1, 2, 1 ], [1, 3, 0 ], [4, 6, 1 ]], columns=['Diff_Average_Running Time', 'Diff_Average_Max_Speed', 'Result']) df_2 = pd.DataFrame([...
I have a lasso-like bayesian graphical model where we try to estimate precision matrices between two conditions (0 and 1), $\Sigma_0^{-1}$ and $\Sigma_1^{-1}$, respectively. The model can be summarized as a multivariate linear model with J outcomes. Thus, we want to estimate diagonal elements ($s_{jj}$) and off-diagona...
Assume I have a random variable $Y=X_1+X_2$. I want to estimate the distribution $f$ of $Y$ given a sample $y_1,\ldots,y_N$. If this was all that is known about $Y$ the best way would probably be to use some type of kernel density estimator. However, also assume that $X_1\sim g_\theta$ for some known family of distribu...
I am currently working on a Recommendation Model. Which takes a Job Openings and Computer Science students and recommend students to the job. Which Model should I use or any suggestions you can give? Students Have Following Features. CGPA, Marks in 9 Technical Subjects, Skills rating in 10 different programming languag...
I'm doing ANOVA analysis on a dataset that looks like: ID cluster gender description country age 124 1 F SMALL US 32 324 1 M MEDIUM CA 12 82 5 F SMALL US 45 453 2 F LARGE AU 34 ... ... ... ... ... ... 473 3 M SMALL DK 32 172 4 M LARGE US 62 23 4 F LARGE US 23 This dataset is a summary of the d...
Background: Hello, I'm creating a GAN with an RMSProp optimizer for both discriminator & generator. The generator model has half the learning rate of the discriminator (1e-4) and half the decay of the discriminator (3e-8). Question: Keras > 2.3 no longer has the 'decay' parameter. Is the following the correct way to tr...
I’m new to graph embeddings, and I have some trouble formulating a solution Suppose that I have a generic node classification dataset that tell the directed edge links between each node along with its weight. Each node has an identification sequence such as “123456”, or “ab2681”. The problem arise when the edge link is...
I am interested in a continuous time system with $n$ observable factors $s_1(t),\ldots,s_n(t)$ and a discrete process $z(\tau_i)\in\{0,1\}$ with random emission times $\tau_1,\ldots,\tau_m$. The observable factors are believed to have a relationship with the emission value and/or likelihood of emission at a given time....
The dropout paper states that: With unlimited computation, the best way to regularize a fixed-sized model is to average the predictions of all possible settings of the parameters, weighting each setting by its posterior probability given the training data. This can sometimes be approximated quite well for simple or sm...
I want to make financial inclusion by using PCA. Before I did PCA, I had done a logarithmic transformation on the data because my data was positive and highly skewed (I saw this from Jolliffe's book and this website: https://en.proft.me/2016/11/15/principal-component-analysis-pca-r/) Now I want to use the PCA Score to ...
I'm trying to calculate a scaled odds ratio and convert them into percentages for an analysis I am doing. I have just one independent variable in the model, SAT score. Dependent variable is college acceptance. The SAT score is in 1-point increments, so odds ratio calculated was for 1-point change. However, I want to ma...
To my knowledge there are two types of learning curves, those that show the progression of the performance as the amount of epochs progresses, and those that show the performance progression as the amount of training data increases. I am referring to the second type. Here is the plot, as made with sklearn.model_selecti...
I've following problem/toy-example: every week I sample data describing users (one row is one user) I want to predict that in next three weeks user will be a fraud 1 or not 0, so basically binary classification, but regression setting is also possible I can't make connections between users across weeks (anonymity), bu...
I'm writing my thesis on the effects of tobacco control policies on tobacco cognitions. One of the cognitions is pro-smoking health beliefs and is a dependent variable in a binary generlized estmimation equation. Descriptives Over time, that is after policy implementation, the percentage of people reporting pro-tobacco...
I am trying to model claim severities for 2 types of insurance, and I want to determine if I should model large claims seperately or not. I am having a difficult time to interpret the mean excess plots. I get that for example, if mean excess increases liniarly with the threshold in the beginning, and the points are ve...
I am working on a personal project and I've been wondering about something. I'm basically taking some loan data from kaggle, analysing/cleaning it, then trying to apply machine/deep learning models to it. One of the models I want to try to use and get LGD estimates is quantile regression. From what I've been reading qu...
I am trying to write a paper for IEEE and would like to know if for MSE, which can have any units, it correct to write "MSE (error^2)" in its formula (i.e. MSE (error^2) = ) and in a plot axis. I am making price predictions and thus, for my context, MSE would have "US Dollars squared" as units. I would really appreciat...
I have done a varimax rotated PCA on my "test" dataset. I would like to use this PCA (i.e. the varimax rotated PCA) on a new dataset and predict the scores. This function predicted<-predict(PCA_test_data,new_data) doesn't allow me to do this because it doesn't incorporate the rotation step. PCA_test_data refers to the ...
I have developed four RNNs (LSTM, GRU, BiLSTM and BiGRU). All of these models give residual errors with non-normal distribution. Is this acceptable? I know that for linear regression problems, we need residuals with normal distribution. But what about RNNs?
I'm trying to make a sales prediction using the column X = item_amount and y = item_price_total, I'm confused whether it's okay to normalize data on the dependent variable using minmaxscalar? With the data that I have more or less like this: | date | item_amount | item_price_total | | :--------: | :-------...
There are two formulas commonly used in the z-test: one involving the standard error (se) and the other involving the standard deviation (std) of the population. The formulas are as follows: z = (x - μ) / se z = (x - μ) / std In these formulas, x represents the observed mean, μ is the hypothesized mean, se is the stan...
Let $(X_j)_{j\in \mathbb Z}$ be an strictly stationary sequence of random variables with: $$E[X_j]=0, \quad E[X_j^2] < \infty$$ I want to show that for each positive $\varepsilon$: $$ \sum_{n=1}^\infty \mathbb P\left(\max_{1\leq j\leq 2^n}\lvert X_j\rvert>2^{n/2}\varepsilon\right)<\infty. $$ Note that: $$ \mathbb P\lef...
I'm working on a semantic segmentation system using aerial imagery. To make this question concise, I'll present a toy version of the problem I want to solve. Assume we are trying to produce a semantic segmentation for a large rectangular region $M$. We want to classify each pixel in $M$ into one of three classes from t...
For a projet, I have to analyse NDVI trends over times (between 2001 and 2020). My teacher asked me to use the same method as presented by Leroux et al. (2017) ( https://doi.org/10.1016/j.rse.2017.01.014). I have the linear model : iNDVI = a + b*Time and know I have to test the consitency of the trends, it can be done ...
The problem I am trying to solve goes like this: Consider the points $(1, 1)$, $(2, 2)$ and $(3, 3)$, of class $1$, and the points $(4, 5)$, $(5, 7)$, $(6, 5)$ and $(7, 7)$, of class $-1$. Find the support vectors for a hard-margin SVM. I have to solve this problem without any compute help, and also quite fast. First I...
I am working on a project about data which containing the chlorine levels measured at different points in the city, presence of foreign waterbody and the total number of cases of water borne diseases found at those points in the city. My task is to find if the number of water borne diseases in the city has any relation...
For those who had a hard time to study and understand classical estimation and detection algorithms, and unfortunately realized that these algorithms are simply ignored by many packages that have the same focus, e.g., scikit-learn, scipy, Keras/tensorflow, etc... Just to list some of such "classical estimation and dete...
The common CMT (continuous mapping theorem) claim that: If $X_n \overset{p}{\rightarrow} X$, and $g$ is some continuous function, then \begin{align} g(X_n) \overset{p}{\rightarrow} g(X) \end{align} However, when I read an article, I saw the following application of CMT: Suppose $\{X_n\}$ is a sequence of random variabl...
Is there a good expository account that explains and justifies Stevens's classification of "levels of measurement" into nominal, ordinal, interval, and ratio, that is comprehensible to all mathematicians?
Covariance matrices are symmetric positive definite matrices. The 'Symmetric' part of this means that the strict upper elements are redundant with the strict lower elements, i.e $M_{i,j} = M_{j,i}$. Thus, a covariance matrix has $\frac{n*(n+1)}{2}$ non-repeated elements. In the case of an autocovariance matrix for a 2D...
If $X$ is distributed as Beta distribution and $Y$ as Chi-Squared, does the distribution of $Z = X Y$ have a name? For instance if $X\sim \text{Beta}\left(\frac{1}{2},1\right)$ and $Y\sim \chi^2(1)$, I see the following values for pdf $f(x)$ and moment generating function $g(t)$. Curious how this relates to known distr...
I am working with Luminex data and have a question regarding the treatment of negative values after subtracting the background average. Specifically, I would like to know if these negative values need to be addressed before conducting statistical analyses such as non-parametric tests or correlations. If so, I am curiou...
I work in trauma research. We use a injury grading system that is fairly unique. Using a system developed in the 60s-70s - the Abbreviated Injury Scale - injuries are graded for six distinct body regions - head, face, chest, abdomen, extremities, and external. The ranges for each region differ a bit with a lower score ...
Let $X_1, ..., X_n$ be a sample from the continuous density $C~exp(-(x-\theta)^4)$ (for $ -\infty < x < \infty$) with $\theta$ as unknown parameter. Show that the minimal sufficient statistic is incomplete. By factorization theorem we see that $T = [\sum_i^n x_i, \sum_i^n x_i^2, \sum_i^n x_i^3]$. We also can find that ...
Given a sampler from a uniform distribution $U(0,1)$ and the target Bernoulli distribution $b(p)$ with two targets $+1,0$ , what kind of sampling technique is: Sample $u_n\sim U(0,1)$ If $u_n<p$: Accept the sample $+1$ I need to know the sampling technique used above. My initial guess is Rejection Sampling since the...
Homophones Indian Surnames List English last names Can machine learning, Natural Language Processing (NLP), Artificial intelligence assist in classifying , interpreting and specifying the differences homophones in Indian Surnames?
I have a model that uses XGBoost to predict a binary classification. However I am getting probability outputs for my model prediction on certain datasets that are quite unrealistic: probabilities that are close to 100%, that I know for a fact should not make sense with domain knowledge. Is this often a sign of overfitt...
I am working on my thesis about the Environmental Kuznets Curve for Latin America and Southeast Asia, with a pannel data with fixed and random effects. I am using logarithmics and robust standard errors. I would to assess the difference in the effects between the two regions. I obtain the results attached in the pictur...
I'm reading papers about randomization in clinical trials. I'm curious why we use the term "arm" such as in "two-arm trials" to express "treatment and control groups". I Googled this question, but I didn't find related answers.
Suppose I have a dataset labeled by multiple analysts. I assume that each analyst has some bias in his labeling. Is there any literature on reducing the bias effect on the general model by using the analyst name?
I have RNAseq data from various tumors, many of which were extracted from the same patients. These tumors are classified with categorical values, and my objective is to compare gene expression across each category. However, a challenge arises when conducting PCA analysis, as the gene expression of the tumors leads to p...
I am using nested cross validation to tune and validate a random forest classifier before doing a final evaluation by fitting the model on my entire dataset. I would like to use validation curves to show how changes in my hyperparameters effect my score. My question is whether it is correct to plot learning curves afte...
I was looking at the prediction error variance of an MA(1) process and we saw the following derivation for the prediction error variance. I understand the first part of this derivation but I am wondering why we take the unconditional variance of the e-term. This e is white noise, so it has an unconditional variance eq...
Can we have any sample size if one of the sample proportions is 0. I mean even the slightest difference detected between the two groups would be because of the treatment in this case, and hence I do not see any reason why the power analysis should be done. For example, in the calculator here, if I enter group1 sample p...
I have a feature categorical ordinal variable (i.e. consumer credit score), that I use to predict a target (i.e., apply for a mortage or not) I have two options: process it as categorical, or encode as integer. Process it as simple categorical variable reduces the predictive potential of the variable, as assumes same ...
I have a time series consisting of a mean, a cosine harmonic wave, and seasonal ARIMA errors, and the seasonality period of both is 7 days: $$ \begin{align} x_t &= \mu + h_t + u_t \\ h_t &= Amp\cdot \cos(\omega_s t - \varphi) \; \;\;\text{with}\;\; \omega_s = \frac{2\pi}{7}\\ u_t &= SARIMA(1,0,1)(1,0,0)[7] \end{align} ...
Assume we observe a $MA(1)$ process for which it is known that the mean is zero. Based on a series of length $3$ , we observe $Y_1 = 0, Y_2 = 1$ and $Y_3 = 0.5$. Find the least-squares estimate of $\theta$. We know that $$Y_t=\varepsilon_t+ \theta \varepsilon_{t-1}$$ so $$0=\varepsilon_1+ \theta \varepsilon_0 $$ $$1=\...
I've got 19 independent plant observations that consist of roughly 300 binary (dichotomous) genetic marker sightings at particular loci and 30 continuous concentrations of different types of flavonoids. My task is to map the genomic data with the flavonoid concentrations and learn the association between those two sets...