instruction
stringlengths
9
38.7k
I have GPS data on animal movements from 3 populations which record their position every hour. My hypothesis is that the 3 populations have distinct movement characteristics. I think a random forest would be a good way to determine this. My issue is that I can generate metrics on different temporal scales. For instance...
It is known that measurement error in predictors lead to a bias toward zero, and also bias other predictors’ estimates: The effect of covariate measurement error on coefficients in regression with dummy variables My question is: if I have an exposure variable (so that, in a Poisson regression model, I should insert its...
I have a dataset starting from 2015 to the current time. There is no complexity of "delayed entry". Now whenever a person subscribe to my company, they are instantly enrolled into my dataset. My task is to predict the lifetimes of these customers, using a right censored dataset. Initially, my company outsourced the pro...
I am preparing a model for predicting the customer propensity to buy from our company. We are using the transaction data for modelling. On discussion with our sales team, we realized that some features are of higher importance and they should have more say in the prediction. They insist on giving weight to these featur...
I am attending a course in Marketing. Our latest assignment was to analyze data from a survey regarding dishwashing detergents. The questions we asked respondents were all of an ordinal kind: they had to give an integer score (between 1 and 5, 1 and 7, or 1 and 10) in order to rate various kinds of behaviors connected ...
If we have two linear kernels $k1$, $k2$ over $R^2$ defined as: $k1(x,y) = x^\mathsf{T} \begin{bmatrix} 3 &1 \\ 1 &5\\ \end{bmatrix}y$ and $k2(x,y)=x^\mathsf{T}y$ for all $x,y\in R^2$. Will $k1-k2$ be a kernel? I checked symmetric property but how to check if it is PSD or not? Is there some alternative way to s...
I have an ARIMAX model that has AR & MA terms along with exogeneous variables at prior lags. I am predicting on a continuous process and attempting to forecast to 1 and 10 units ahead. However, the important lags for the exogeneous variables are within the 1-10 units. Thus, it fails to produce 10 units ahead forecast o...
I've recently conducted an experiment on my university where participants had to perform various tasks using two different virtual reality interaction methods (each participant performed all tasks twice). Now that I have the results, I'm wondering about how to approach analyzing them. Initially I thought I could just c...
I'm working on Gaze in Turns in conversation. The kind of data is illustrated here: df <- data.frame( Gaze_dur = c(25,35,75,55, 150,120,170,190), N_p = c(3,3,3,3, 2,2,2,2), Turn_dur = c(100,120,150,110, 200,230,210,250) ) I know that Turns in Dyads (2 ppl talking) are on a...
I have a database of data that is labelled good. I can make new data myself and I'll label it bad (I know how to transform a bad data from a good data). I want my model to determine if a piece of data is good (not modified) or bad (modified), I wanted to do 50/50 in my training dataset but I know that in real life, bad...
is there a rule of thumb of how large the final test set has to be in Machine Learning? Assumed I have 1.000 images how many images do I ignore and use only in the final run? My proposal: Select randomly 150 Images and ignore it until the end. There are 850 images left I can use. With 5Fold-CV my test size is 170. So I...
Learning the weights of logistic regression using gradient descent is quite intuitive. The input $x$ is multiplied with the weight $w$ to produce $y$, and we know the true target $\hat{y}$. Therefore, during backpropagation, we tweak the value of $w$ so that the next $y$ is closer to $\hat{y}$. A self-attention module ...
Lets say I have a dataset with a binary target variablem, smoker / non smoker, and a continuous variable of miles running per week. So for each catigory (smoker or non smoker), I calculated the mean (of miles ran per week..), variance, sample size and the standrad error Now for the hypothesis testing, the following are...
Least squares regression estimates conditional means. Least absolute regression estimates conditional medians. Quantile regressions estimate conditional quantiles (a special case of which is the absolute loss mentioned above giving conditional medians). Analogously, what does Deming regression estimate?
I am trying to use the MatchIt package to conduct exact matching on several categorical variables (sex, zipcode and an eligibility group code). After matching I want to have the same number of treated units as control units, and I want it to randomly pick the control unit for each treated unit if there are several pote...
I'm fitting a Vector Error Correction Model. The general form is like this: $$\Delta y_t = A_0 + \sum_{i=1}^{t-1} A_1 \Delta y_{t-i} + \lambda EC_t + \nu_t$$ In which $EC_t$ is the error correction term. For instance, let's consider the endogenous variables in the model as House values $(H_t)$, Interest rates $(I_t)$, ...
I have a dataset in which the target values are counts of objects within each class, example (Xs are input features, Ys are values to be predicted): example_id| X1, X2, X3, X4 | Y1, Y2, Y3, Y4 ----------+----------------+----------------------- 1| 1, 2, 3, 4 | 1, 0, 5, 8 2| 5, 6, ...
I am currently a graduate student working on my thesis, trying to analyze method comparison studies that include repeated measurements. I have a dataset created in the context of a method comparison study, and we are trying to determine agreement between a point-of-care device and a gold standard (central laboratory me...
So, I am trying to run a regression that requires me to log and take the first differences of it to render stationary. That is why I am using VECM. I ran the diagnostic tests, and everything is fine except heteroskedasticity. So, I tried to use weights and also vce(robust) in Stata and it fixed the problem. However, I ...
I am testing whether a variable predicts an outcome - firstly on its own, and then after controlling for various covariates. Since the outcome is continuous, I want to report R² as an effect size metric. For that, I was planning to report R² for the DV ~ IV model, and ΔR² comparing DV ~ IV + CV minus DV ~ CV. In some...
I've been doing some exploratory data analysis on a time series dataset and had some questions about interpreting a PACF plot that I generated. I initially displayed the plot with a maximum lag of 400, and saw some significant autocorrelations, after 1 day, 6 days, 7 days, 364 days, and 365 days, after which the PACs s...
Set up: I have a epidemiological study with a dose-response curve with a series of relative risk estimates (risk ratio of mortality risk exposed compared to mortality risk unexposed) along a curve. The curve only has a few points, but I am using it to model a continuum of points in a health impact assessment using a p...
I am currently running a structural equation model, where I have made some directional hypotheses before hand of how the variables will be associated with each other. Specifically, I hypothesized that being female (gender) will have a negative effect on mathematics self-concept, self-efficacy and interest (modeled as l...
What methods are available to control for false omission rate in multiple comparisons, similar to the way Benjamini-Hochberg controls for false discovery rate? The goal is to filter out obvious negatives while minimizing discarding of potential positives, and use the result as input to the next stage of an analysis pip...
I have data which looks like composition of sine waves. I need to decompose it to fewest possible sine waves that would give me tolerable error. The picture is of a half-period. Each half-period would be different so I need to analyze each half-period separately as if they arent related (this is empirical limitation)....
In Section 4.1 of Analyzing Dependent Data with Vine Copulas, the author decomposes a three-dimensional joint density function into bivariate copula densities and marginal density functions. I’m having trouble with this derivation and would appreciate any help. The first step taken is to factorise the joint density as ...
How would you calculate the probability of the following scenario being successful or not given the following conditions: You have two variables X and Y, one with probability P and the other 1-P. The goal is to keep running trials until one variable has N more successes than the other. This can be thought of as if X s...
I'm looking at online discussion group participation and I'm trying to determine whether posting to group A increases the likelihood of subsequently posting to group B empirically (is A a gateway group to B?), but I'm not sure how to do this and I can't seem to find methods papers or papers with good methods sections s...
I'd like to estimate the parameters of a mixture model using MLE. The density is: $$ f(x,y) = \mathcal{N}(x, y; \boldsymbol{\mu}, \Sigma) \cdot \alpha + \mathcal{N}(x; \mu, \sigma^2) \cdot \mathcal{U}_{[a, b]}(y) \cdot (1 - \alpha) $$ Where $\alpha$ is a mixing proportion to be learned, as will the parameters $\boldsym...
I am relatively new to multilevel or mixed effects modeling, and I have been tasked by my employer to analyze survey data they collected from their organization. Their goal is to study the effect of different hybrid work arrangements (i.e., everyone works from home most of the time, some people come in to the office on...
I have a data set that was testing the effect of an intervention on disordered eating from pre-to-post test. There are 45 subjects. 24 subjects were randomized to condition 1. 21 subjects were randomized to condition 2, making this unbalanced. Participants were asked to complete the same measure at two different time p...
In the model performance monitoring stage, if you want to measure the change of a distribution of a numerical variable, Population Stability Index can be used. But what metrics can we use for categorical variables? For example, if I have a categorical variable like a country code, since it is not ordinal, so converting...
I am planning to conduct a study to measure the length of the left and right ear on the same individual. I am stumped on which test should i be using and i would be glad if anyone can set me on the right direction. thanks
I am using a modified Hosmer Lemeshaw approach, culminating in all possible combinations model selection, to conduct multiple logistic regression that should distinguish between use (1) and available points (0). I used univariate models to determine whether predictors should be modelled as linear terms or quadratic ter...
I trained a logistic regression model with two binary variables $x_1$ and $x_2$ where my target binary variable is $y$: $$\log\left(\frac{p}{1-p}\right) =\beta_0+\beta_1x_1+\beta_2x_2$$ Looking at p-values, we notice that $x_1$ has statistical significance (p-value < 0.05). However, the model performance is terrible (p...
Recently I am working with survival data and trying to fit time-dependent ROC. And I have difficulty estimating the optimal cutoff for time-dependent ROC. Here is the process I do. library(survival) library(timeROC) library(survivalROC) data(pbc) head(pbc) pbc<-pbc[!is.na(pbc$trt),] pbc$status<-as.numeric(pbc$status=...
Lots of data is real-valued, non-negative, and replete with 0s... for example any time count data are normalized by something: e.g., perhaps it makes sense normalize disease case counts taken over different intervals by time. Then you end up with something that has 0s like count data, but is no longer counts. What are ...
Considering a $I×J$ contingency table, a Pearson chi-square statistic to test the independence is given by: $$Χ ^2 = Σ_{ij} \frac{(n_{ij} - \mu_{ij})^2}{\mu_{ij}} $$ And the Pearson residual is: $$e_i = \frac{(n_i - \mu_i)}{\sqrt\mu_i}$$ Which has a variance $Var(e_i) \leq 1$. According to S. J. Haberman's paper in 197...
Our team is working on a regression-like model to predict a continuous value across time. We noticed that the model performance was quite good for part of the period, while deteriorate quite a lot at the later time period. I’m guessing the data might have been drifted but not tested yet, as I’m stuck with the following...
My statistics knowledge is basic at best but here goes: 4 football/soccer matches with expected goals of 2.6, 2.75, 2.4, 2.85 I'm interested in working out the probability of at least 2 of those games tieing to have the most goals out of the 4. My thoughts were to use a poisson distribution to work out the chance of ze...
I am investigating the effects of tax rates on tax-avoidance by multinationals using OLS-regressions. The idea is that a multinational will try to move more income to the Bahamas if the tax rates in the other countries it is active in are higher. (see example below) So, income in the Bahamas is positively affected by t...
Every time I have a binary target variable (like gender for example), and I want to choose the features that are the most informative, I use wilcoxon test, since it is only two groups. I do something like this: p = apply(gene_expression_matrix,1,FUN=function(x) wilcox.test(x~metadata$Gender)$p.value) And I can just pi...
I am modeling a multivariate distribution, where I already have the distributions of the marginals. Let's call the marginals, $f_{i}(x)$ for every $i$ marginal distribution, where $i=1,2,3$. We already know that $f_{1}$ and $f_{2}$ are Gaussian $N(0, \sigma_{i})$, while $f_{3}(x)$ is unknown, however, for $f_{3}(x)$ we...
A bit of a naive question. I understand that OLS is used for a linear regression model (for example, Wikipedia page for OLS: OLS is a type of linear least squares method for choosing the unknown parameters in a linear regression model (with fixed level-one effects of a linear function of a set of explanatory variables...
I am facing a problem with my PhD Thesis in Archaeology. After analysing the percentages of an animal (variable: Observation) by grouping them by each variable in the following columns (e.g., Median % of Cattle in Urban sites), I am interested in knowing which of these features is more important, rather than simply exp...
I have a portfolio consisting of N assets with known average historical returns ($r_1$, $r_2$, ...$r_N$) and a known set of weights ($a_1$, $a_2$, ...$a_N$) subject to $\sum_{i=1}^N a_i$ = 1 I am currently running a Monte-Carlo simulation of this portfolio by first aggregating the individual securities to arrive at the...
I am calibrating parameters of a process model. The runtime of the model is high and the calibration already ran for more than two weeks with many cores on a HPC. After almost 150k iterations I realize that the uniform prior for one parameter was too narrow. Which means that the sampler is getting very close to the upp...
Consider the following linear model: $$Y_i=\beta_0+\beta_1 X_{i1}+\cdots+\beta_k X_{ik}+\varepsilon_i$$ Here, I want to get the estimate with a positive value restriction $\hat{\beta}_1>0$. That is, the estimate for $\beta_1$ should be positive. Is it possible to impose the restriction above?
In my dataset, each participant has a percentage score (number of correct answers divided by number of valid answers and later multiplied by 100). I would like to see if the mean of that percentage score is significantly different from the reference mean (a value from previous studies). Is it possible to use the one-sa...
My data and problem: Data is high-dimensional data with 15474 features (columns) and 375 cases (observations, rows). Data contains 34% zero values. Output/response is multiple outputs of 2 (continuous values). Many researchers said that this high-dimensional data is unsuitable with multiple linear regression algorith...
I have a long tailed distribution with many classes, and the num of samples per class is [38K, 12K, 8K, 6k, 4K,4K, 2K, 800, 600, 400,400,300,280,180,180,120, 85, 70, 60, 60, 60, 60, 50] I tried to train a multiclass classifier and got pretty good results AUC for the 3 largest class, but very poor results for all the o...
I have survey data that tracks self-reported emotions at the individual-level for observations in two groups before and after a targeted cash distribution program is introduced. The measure of interest is a categorical variable dividing emotions into: positive, neutral, or negative. I am interested in testing whether ...
Hi everyone, I am trying to estimate a higher-order model with the mirt package in R. I have already conducted an analysis using a bi-factor structure. I have 60 items, the first 30 being measured by the first dimension and the second 30 by a second dimension in my model. I know that these two dimensions are strongly c...
Let $X_1,X_2,\ldots,X_n$ be independent random variables with normal distribution $N(0,\sigma_i^2),$ $i = 1,2,\ldots,n $. Prove the random vector $Y = (X_1, X_1 + X_2,..,X_1+X_2+...X_n)$ is Gaussian and find its distribution. I'm trying to write $Y = (X_1, X_1 + X_2,\ldots, X_1+X_2+\cdots+X_n)$ as a product of a Matrix...
Main question Assume that one can administer a treatment to patients in two different conditions. What is the proper way to conclude (or reject) that the treatment response behaves differently in the two conditions? Details I have a visual representation of the data given by this R code: library(dplyr) library(ggplot2...
I'm a pure math guy, not a stats guy, so please bear with me. I will try to be as clear as I can. Consider a basic $t$-test for a population mean. In Triola's Elementary Statistics (a freshman-level intro textbook) we are given the following two requirements: The sample is a simple random sample. Either or both of ...
I am trying to do a meta-analysis using studies with single group (in my case- patients undergoing an XYZ surgery). The outcome measures reported are pre-treat functional score(mean with SD) and Post-treat functional score ((mean with SD). Complications are reported as rates. I am relatively new to meta-analysis, so ca...
Let two independent normal variables $X\sim N(\mu_1, \sigma_1^2)$ and $Y\sim N(\mu_2, \sigma_2^2).$ Let $Z=e^X+e^Y.$ Then $Z$ is lognormal random variable. Is it possible to calculate $\mathbf E[X\times \log(Z)]?$
Scenario 1 Suppose that you work in a lumber yard and are given the following measurements of the weights of various pieces of lumber: x = [10, 26, 28, 13, 16, 7] You are asked to assume that $X$ is normally distributed and provide the maximum-likelihood estimate for the mean $\mu$ of $X$. So, you construct the likelih...
I would like to know the best way to compare and report the percentages from two samples. Last year's sample size had a total of 489 respondents and 74 participants chose item A; this year, the sample size is 503 and 105 participants chose item A. For e.g., last year %: 74/489x100 = 15.13% This year %: 105/503x100 = 2...
If I model glm2.out <- with(D1train, glm(non_def ~ loan_amnt + grade + emp_length_p + term + state_woe, family=binomial("logit"))) Where non_def is a column of values with $1$ if I do not default on a loan, and $0$ if I do default. The question is, does a higher score indicate a greater association with defaulting or n...
For my overdispersed and zero-inflated data I have used a zero inflated negative binomial and a hurdle model, for comparison purposes. I need to validate the model, i.e. see whether certain assumptions are fulfilled to check if the model is adequate for inference. However, I'm not able to find any information on the st...
In "normal" survival analysis that I'm familiar with (probably because they're very common), such as logistic regression, Cox PH, decision trees, the time to event analysis always includes an indicator of the outcome variable. How come there is no implementation of interval-censored analysis (at least in R) that takes ...
I have the following model: $$\theta \sim N(1, 0.1)$$ $$X \sim N(\beta_1\theta + \alpha_1, \beta_2\theta + \alpha_2)$$ Where I can safely assume that $\beta_2\theta + \alpha_2$ is always positive. How would I calculate the overall variance of samples from $X$, please?
I calculated the predicted probability of membership in group A and not A with binary logistic regression. Then I broke the not A category into two distinct buckets of which it is comprised - B , C. I then used multinomial logistic regression to calculate the predicted probabilities of membership in A, B, C. These two...
Let $X_i$ be i.i.d. variables and $\hat{\mu}$, $\hat{\sigma}$ their sample mean and standard deviation. Is the following true: $$ \sqrt{n} \left( \frac{\hat{\mu}}{\hat{\sigma}} - \frac{\mu}{\sigma} \right) \to N(0, 1)?$$ I have tried to prove it using continuity/Slutsky/delta style arguments, but I can't seem to figure...
For context, I am a beginner and this is my first time attempting to implement a machine-learning algorithm. This is for school. I am attempting to predict whether a 100-meter dash athlete wins a medal or not from inputs: weight, height, and age. There are athletes who appear more than once. For example, Usain Bolt app...
There seem to be at least two different methods to calculate the theoretical quantiles in a Q-Q plot. In the following, the normal distribution is assumed to be the theoretical distribution. Split the range (0,1) into q-quantiles where q is the number of samples in the sample distribution and then get the correspondin...
I've been struggling all day to fit a robust HC4 model to my lmer in R (all the examples I've seen were with lm. I simply cannot find a way to do that, so I've started wondering if theoretically it makes sense to do so ? If not, what would be the 'correct' robust estimator for lmers for dealing with heteroscedasticity?...
I understand that if the dimension of a sufficient statistic exceeds that of the parameter it estimates, then that particular sufficient statistic won't be minimal. Now, in the following case, I define $M$ to be the sample median in the usual form with the order statistics. However, I am trying to determine whether $U ...
I am aware that we can use the BIC values from different models in order to determine which model predicts the data best. However, I'm a little confused about the criteria used to determine which model is better over another model. For the BIC, a difference of 2 is considered as positive evidence for one model over the...
I was trying to understand geometric interpretation of regularization and came across following statement here: $$\text{Mean Square Error}\; E(y,\hat{y})=\frac{1}{n}\lVert\hat{y}-y\rVert^2$$ $$=\frac{1}{n}(b^TX^TXb-2b^TX^Ty+y^Ty)$$ Since $X^TX$ is positive semidefinite, we know that $b^TX^TXb\geq0$. Furthermore, we kn...
I am wondering why the standard deviation of the averaging filter of width w is as follows? Where does the 12 in the denominator come from? For context, the paper is am refererring to can be found here: here
From Wikipedia I have the compliment of the CDF parameterized for fat-tails distributions. $$ \Pr[X>x] \sim x^{- \alpha}\text{ as }x \to \infty,\qquad \alpha > 0.\, $$ Here $\alpha$ is the fatness parameter. According to Taleb. $\alpha \leq 2.5$ is forecastable, but $\alpha > 2.5$ is not. I would like to fit $\alpha$ ...
I am looking at the effects of drought events on soil gas fluxes timeseries using R and gam and gamm from the mgcv package since the data is seasonally variable. The data is also missing winter months, so, k = the number of months measured or k = number of years measured. I have also included a factor variable 'moistur...
In this paper, the authors compare different methods of fitting generalized extreme value distribution (such as the maximum likelihood method). For example, the Gumbel distribution: $$ F(x)=\exp\left(-\exp\left(-\frac{x-\xi}{\alpha}\right)\right) $$ The authors design a simulation to compare these estimators. On page 2...
A total of 498 participants responded to a survey questionnaire. I want to be ascertain that the sample size of 498 reflects the opinions of the true population (say 1,000,000). I used an online calculator that shows that the margin of error is 4% population size: 1000,000 confidence level (%): 95 Your sample size: 498...
Let $d\in\mathbb N$, $I$ be a finite nonempty set, $(x_i)_{i\in I}\subseteq[0,1)^d$, $(w_i)_{i\in I}\subseteq[0,\infty)$ with $\sum_{i\in I}w_i=1$ and $$\sigma:=\sum_{i\in I}w_i\delta_{x_i}.$$ I really got trouble to understand what's meant by the property of the point pattern $(x_i)_{i\in I}$ to "admit blue noise char...
I'm completely confused about how to calculate R-squared for given lists of predicted and actual values. As an example, assume that my predicted values are: [3, 8, 10, 17, 24, 27] and my actual values are [2, 8, 10, 13, 18, 20]. According to wikipedia, I do the following: get the mean of the actual values (y-bar) = 1...
Would it be possible to fit latent growth curve model on latent variables instead of directly on the observed measures? Each latent variable would represent a latent construct (e.g., intelligence) at each time point (T1-T3) based on questionnaire items (some categorical, some ordinal, some numerical variables), and the...
Suppose that we have a distribution $X = aY$ where the distribution of $Y$ is Poisson{$\lambda$}, what is the maximum likelihood estimator of $a$? By the method of moments we can estimate $a$ as $\sigma^2_X /\mu_X $. This is because $\mu_X = a \lambda$ and $\sigma^2_X = a^2 \lambda$. The log-likelihood function is I th...
I have a need to calculate statistical power (the chance of making a Type II error) within Excel for a 2 sample proportional Z test. Here's a example to better explain. Say I have two unequal samples n1 and n2. Within each sample, I have a number of individuals who have performed a specific conversion event. Lets call ...
The function np.convolve is a 1D convolution (e.g. when both inputs are 1D). It results in a larger output size. >>> import numpy as np >>> a = [1,2,3] >>> b = [4,5,6] >>> np.convolve(a,b) array([ 4, 13, 28, 27, 18]) However typically in CNNs, each convolution layer reduces the size of the incoming image. What causes ...
I have a dataset which consists of test score (responsive variable), location (station), gender, and blood glucose concentration. It has been found that the test score has a positive linear relationship with blood glucose concentration. My aim is to find whether gender can influence the test score, regardless of locati...
The assignment is to write a simple ML program that trains and predicts on a dataset of our choice. I want to determine the best model for my data. The response is a class (0/1). I wrote code to try different cross-validation methods (validation set, leave-one-out, and k-fold) on multiple models (linear regression, log...
Hopefully a quick and easy question for somebody on here. I'm a masters student using R to interpret data for my thesis. I want to reference the type of linear regression that I have used in my analysis, e.g. Pearson correlation coefficient detected no significant...etc etc etc. I am using the lm function in R but I ca...
I have read this page but am a little confused and I think a real example might help solidify the idea in my mind regarding how to use the AIC in model selection. Equivalence of AIC and p-values in model selection Say I have two nested models (that differ in 6 parameters) - these are from real data. The simpler model i...
A test is made of $H_0: M= 77.4$ and $H_a: M<77.4.$ Assume you reject the null, because you did not feel like doing a hypothesis test, and you are pretty sure your alternative is correct anyway. Have you made a Type 1 error, Type 2 error, a correct decision, or a silly decision? I keep trying to solve this using the ...
I prepared a research design with the discrete choice method. I have 2 labeled alternatives, 5 attributes for an alternative, and 6 attributes for an alternative. I want to analyze my data with multinomial logit in the R apollo package R. However, I have an error. But I don't know what this error means and how I should...
I'm having difficulty understanding how to compute Big-O for the upper bound on the regret in Exp3 algorithm. I think the actual algorithm isn't quite important for my question but since I couldn't find the relevant material to work out so let me shorten the detailed notations. So, the following is the famous bound on ...
In a few NLP papers such as Re-evaluating Evaluation in Text Summarization (Bhandari et al., EMNLP 2020), two types of correlation strategies are presented. I had a discussion with colleagues over the rationale behind those correlation types and we were unable to arrive at a consensus. Setup: For each document $d_i$, $...
Problem: I have an MCQ language proficiency test completed by 147 participants. 6 questions were never answered correctly by all participants, which left 30% of the test data as NA. I want to assess the reliability of the test using Omega or Cronbach’s Alpha. However, these reliability measures do not include the items...
I am approaching machine learning and I want to ask you some questions, hoping that they do not sound too trivial. I have a pretty small dataset with $n \simeq 500$ observations and about $p \simeq 20$ non-ordered categorical features. My aim is to perform binary classification. (I mainly will use the R package caret)....
For my introductory statistics class, I've been trying to determine the limiting distribution of $Y=(\bar{X})^2$, where $X_i \overset{\mathrm{iid}}{\sim}\textrm{ Unif}(0,1)~\forall ~i \in \{1,\ldots,n\}$. At first, I've tried to obtain some data by doing experiments with R, just to get an idea of what my result should ...
I am still quite new to this and I'm unsure how to structure my question. I have these two mixed models that I am using to generate a linear regression plot control<- lmer(OUTPUT~ Weeks +(1|ID), data = CONTROL, REML=FALSE) group1<- lmer(OUTPUT~ Weeks +(1|ID), data = group1, REML=FALSE) I have plotted these re...
I am trying to make sense of the diffusion model (one of the videos I watched https://www.youtube.com/watch?v=HoKDTa5jHvg&t=706s). I came across this formula in the model: This picture clearly explains the components of the formula. My question is the middle term - the mean. Why is the square root? At the very beginni...
I am new to statistics and I have been struggling to understand the three different versions of (A)DF test. For simplicity I will use the naming conventions from https://en.wikipedia.org/wiki/Dickey%E2%80%93Fuller_test. My understanding is that we if generate a time series under the null hypothesis, our t-statistics wo...
I have failure time information of a product in the form of current status data, which looks something like this. Observed Time($t_i$) failed ? ($y_i$) 5 hrs 1 6 hrs 0 5 hrs 0 7 hrs 1 Essentially each row represents an observation. In the first column, we have the observation time ($t_i$) of an item a...
I have many "parallel" time-series (about 100). They have relatively short history. I calculate a covariance matrix between these time-series. Now, I believe that the observed covariance matrix is very inaccurate / noisy. For example some time-series might look to be very correlated just because of noise / chance / coi...
I'm working on an ML project to predict wine quality from a wine's physical characteristics. The features of my data are on vastly different scales so I've been experimenting with different normalization/standardization techniques to see how these impact the data. Originally the features are like so: After taking the ...