instruction
stringlengths
9
38.7k
Say I have classification problem with imbalance training label: 1: 1000 0: 100000 When I train a classifier, like Logistic Regression or Random Forest or XGBoost, it can output predicted probability. Will the mean of all predicted probability be close to mean of training label, which is 0.01 in this case? It seems to ...
Google's Speech API has audio speech to text capabilities in multiple languages. It supports Turkish too. That language is very interesting, it's so called agglutinative: you stick word parts one after another instead of prepositions and other parts in languages like English. This leads to pretty much unlimited size vo...
When we have a random variable that follows an exponential distribution, the mode is at 0, the probability $P(\frac{1}{\lambda}<X<\frac{1}{\lambda}+\epsilon)$ is lower than $P(\frac{1}{\lambda}-\epsilon < X < \frac{1}{\lambda})$, so in some sense if $X$ is interpreted as the waiting time between two events, there is m...
I will apply a questionnaire with 90 questions about the possible requests: very bad, bad, neutral, good and very good, the answers will be categorized into 8 different groups. Subsequently the data will be related to other quantitative tests (audiometry). So I would like to know how to calculate a sample size that is ...
I need help to interpret hierarchical linear regression coefficients when the variables are transformed with base 2 log in the following two cases: Only the outcome variable is transformed, no predictor is transformed Both outcome variable and predictor is transformed There have been several questions posted on natur...
Assume, we have the following: $Y$- outcome $D$- exposure $U$- unobserved confounder $V$- instrumental variable. Assume there are no observed confounders. Can we check the assumption of exclusion restriction by running a regression of $Y$ on $D$ and $V$ and testing if the coefficient associated with $V$ is 0? The rati...
first time asking something on cross validated. I'm doing an analysis on the performance of marketing campaigns. I've done a few linear regressions with the dataset trying to explain as much variance as possible. This is my final model: all: lm(formula = log(regular.volume.2) ~ ., data = dt.regular.2) Residuals: ...
I have thus far been fitting a Cauchy prior (centred at 0; scale of 2.5) on my parameters, as recommended by Gelman et al. (2008). They recommend scaling variables (predictors, and in the case of a linear regression, outcomes as well) to a mean of 0 and sd of 0.5. However, I would like to explore the effect on the Baye...
I was using random forest regression to predict the price of a house. There are only 3 features in data set. Initially when I had set max_depth=2 the result was highly biased. The performance improved with max_depth=8, but my question is how can we set max_depth greater than the total number of features.
I want to match followers of some seed accounts with some random users on Twitter based on observed covariates using the coarsened exact matching method. My goal is to test whether following those seed Twitter accounts would change the outcome or not. As for observed covariates, I can get, for example, # of tweets and...
Consider a simple regression or classification problem using a typical squared loss or cross-entropy loss respectively. The supervised setup uses the gradient as estimated by: $$\nabla_W J \approx \nabla_W l(f(x), y)$$ where $x$ is the input (or batch of inputs), sampled from the dataset $X$, $f$ is the network, $y$ is...
Just heard on on this segment of a Fox News show hosted by Tucker Carlson that in recent years gun ownership has gone up while gun-related violence has gone down. Just like that. Followed by the remark "it's just a simple way to do a simple correlation." The channel is not devoted to truth and analysis, but what are th...
Given the GARCH(1,1) model \begin{aligned} X_{t} &= \sigma_{t}Z_{t} \\ \sigma^{2}_{t} &= \alpha_{0} + \alpha_{1}X^{2}_{t-1} + \beta_{1}\sigma^{2}_{t-1} \end{aligned} where the process $Z_{t} \sim^{\text{iid}} N(0,1)$ and also \begin{aligned} \alpha_{0} &> 0 \\ \alpha_{1} &\geq 0 \\ \beta_{1} &\geq 0 \\ \alpha_{1} + \b...
Assume I'm a doctor and I want to know which variables are most important to predict breast cancer (binary classification). Two different scientists each present me with a different feature importance figure... Logistic Regression with L2 norm (absolute values of model coefficients; 10 highest shown): And Random Fores...
There are three variables, y, $\phi$,$\gamma$, $f_{y,\phi,\gamma}\propto\frac{1}{y!}(\nu\phi\gamma)^y\exp(-\nu\phi\gamma)\exp(-\alpha\phi)\phi^{\alpha-1}\exp(-\gamma)\gamma^n\exp(-\theta\gamma)\gamma^{\theta-1}$ I know that given the rest, $y,\phi,\gamma$ are distributed as Poisson, Gamma, Gamma respectively. Is there ...
I am working on the following problem and am struggling with how to come up with the particular limits of integration. I've done some maths voodoo to get part of the same argument as the solution, but I cannot explain why it works or defend that it is correct. I've always had problems with constraints. Suppose that $X...
It is usually explained in biostatistics textbooks that to do a z-test for the difference of two proportions, it is necessary that p*n and (1-p)*n are both equal to or above five for both samples. However, I did not find any explanation of what to do when this condition is not met? So I have this table below, and I ne...
$X$ is a random variable with density $f(x,\theta,\lambda) = \lambda \theta^\lambda x^{-(\lambda+1)}$ where $x \ge \theta$ and $\lambda > 0$ and $\theta > 0$ and unknown parameters. given $\psi > 0$ retrieve the distribution of $X$ conditioned to the event $X > \psi$ Assuming $\lambda$ known: show if the statistic $...
I am trying to fit a logistic regression model for business defaults. Apart from the dichotomous variable default, the data set includes some performance ratios. When estimating the model in R, the following warning appears: glm.fit<-glm(Default~ROS+ROI+debt_ratio,data=ratios,family=binomial) Warning message: glm.fit:...
I denote that a reward vector of an item $a$ as $r_a$. Say there is a set of items denoted as $A_t$. I want to get a set $A^\prime_t$ of items from $A_t$ that has non-dominated reward vectors. For a given two items $m, n$, if $n$ has a reward vector that is non-dominating I denote it as $r_m \nsucc r_n$. Is it correct ...
just trying to understand the process of removing outliers in my data using the python Scikit's DBSCAN function. As an example, given aDataFrame of data, which includes both my target and features, I do the following: #Remove outliers DB = DBSCAN(eps=0.5, min_samples = 10) DB.fit(aDataFrame) print (Counter(DB.labels_),...
I understand the matter in the underfitting / overfitting terms but I still struggle to grasp the exact math behind it. I've checked several sources (here, here, here, here and here) but I still don't see why exactly bias and variance oppose each other like, e.g., $e^x$ and $e^{-x}$ do: source It seems like everybody ...
I am currently following a master program focused on statistics/econometrics. In my master, all students had to do 3 months of research. Last week, all groups had to present their research to the rest of the master students. Almost every group did some statistical modelling and some machine learning modelling for their...
I want to describe a statistic on my data. For example, I have data on firms (companies), and I have a measure of $x$ for each of them. Now, firms differ in size, which could be understood in terms of number of employees, or value of sales, or other metric. Say I want to compute $\bar x$. A simple arithmetic average wi...
I'm running two logit models on passing or failing an exam - one random effects logit, and one fixed effects logit (conditional logit) where I use "community" as my group variable. I've set my estimates to be log-odds ratios in both models. My question is, is it sensible to compare estimates from these two models or am...
I want to predict two values in a Machine learning model. The first is the direction (1 or 0 - Classification problem) and the second is magnitude (number). I want to provide more weight to classification so currently this is the cost i am using: classcost = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(label...
The following quote comes from the famous research paper Statistical significance for genome wide studies by Storey & Tibshirani (2003): For example, a false positive rate of 5% means that on average 5% of the truly null features in the study will be called significant. A FDR (False Discovery rate) of 5% means that ...
I've seen several ways to normalize a data (features or even images) before use as input in a NN or CNN. The most common I saw are: [0, 1]: (data - min(data)) / (max(data) - min(data)) z-score: (data - mean(data)) / std.dev(data) What would be the best/recommend? Are the way chosen really affect the training of the m...
Suppose I have a data set with three or more groups. After some exploratory data analysis, I find that The groups do not come from a normal distribution the variances within the groups are not equal, and violate the rule of thumb that the largest variance is no more than 4 times the smallest variance. If I'm interes...
For classification using neural networks, if we have only one output neuron, we can vary the threshold for class labeling and get a Precision Recall (PR) curve. I am using cross entropy loss, after applying softmax on the output layer, where the output layer has 2 neurons. For labeling, I am using argmax(y_1,y_2). How ...
Consider the model: $$y_i=x_i'\beta + \epsilon_i$$ where $\epsilon_i$ is i.i.d. and follows a $N(\mu,\sigma^2)$ with $\sigma^2>0$ and where the distribution of $x_i$ has full support on $R^k$. You observe a sample of n realizations $(y_i,x_i)$. Question: Why are all parameters identified and why the full support assum...
If I have a certain variable, let's say Age. Then why if I square this variable, is the correlation between $age$ and $age^2$ not equal to 1. e.g. I get a correlation coefficient of 0.983. is this something structural or does it depend on my data somehow? Thanks!
I have recently been looking into the Bootstrap, and I was wondering, if I were to have a sample $X=\{x_1,x_2,\dots,x_N\}$ that has $N$ samples, all i.i.d coming from a normal distribution, $N(\mu,\sigma)$. In the Bootstrap, $B$ resamples, $X_b=\{x_{b1},x_{b2},\dots,x_{bN}\}$, are obtained by resampling uniformly from ...
If we're doing a Jonckheere-Terpstra Test and a Kruskal-Wallis test at the same significance level, which one is more likely to reject the null hypothesis when it is actually true? From my understanding, the Jonckheere-Terpstra test tests the ordering of medians versus the Kruskal-Wallis test, that tests the equality o...
What are the needed codes in matlab for survival analysis using Kaplan-Meier method? Im just a beginner thanks
I have the following problem: My business consists of $n$ different departments $D_{1,...,n|Y}$. I want to decide how much money $A_{i|Y}$ I should allocate to each department $D_{i|Y}$ to maximize profit $P_Y$, given that I have decided what my overall budget $B_Y$ for the year is fixed. I also have historical data...
I'm trying to track down the citation information for an article. The paper concerned itself with the recent explosion in successful applications of neural networks, and whether this was cause by more data, better algorithms, or faster hardware. It provided a number of detailed examples (e.g., data corpora with some ...
I am confused as to how the breaks argument works in the "hist()" function. I have created a historgram of a rnorm(200, 0, 1). The default parameters make it look a certain way when writing hist(x). I then wanted to change the breakpoints by doing hist(x, breaks=5). I end up with 6 breakpoints (or is it 8? I don't kno...
I am interested in finding out how exactly to calculate the probability of an individual living to a certain age, say 100, based on a life expectancy of X, and knowing his current age, say 30. I did some reading on the topic but most of the resources I managed to find online regarding the topic, provided only hard num...
This is a follow-up question I have after reviewing this post: Difference in means statistical test for non-normal, heteroscedastic data? To be clear, I am asking from a pragmatic perspective (not to suggest that theoretical responses are not welcome). When normality among groups is present (different from the title of...
I am not sure why running the following code in R does not result in a type I error rate of exactly 5% given alpha = 0.05 when set.seed is set to 1. Is there a reason why running the simulation below gives a type I error rate of 4% when it should be exactly 5% using set.seed(1)? Sometimes when you run the simulation, y...
I have two samples X ($N$= 97) and X2 ($N$=4782) drawn from the same population data. I like to test (using statistical visualizations such as normplot and qqplot and hypothesis tests such as jbtest, chi2gof and kstest in matlab) if the data from each sample is normally distributed. My first data is: X = [8.1301023540...
I am investigating whether building a classifier for sentence classification using CNN can be used for sentence generation. Say, we are classifying news articles' titles (classes such as sports, business, etc.). The question is whether the same model can be used to generate or reconstruct the original input words sente...
It is well accepted that $$S^2 = \frac{1}{n}\sum_{i = 1}^n (W_i - \bar{W})^2$$ is an estimator of the variance, $\sigma^2$, of a bounded random variable $W$. However, because the estimator is biased (i.e. it's expectation is $\frac{(n-1)}{n}\sigma^2$). We also have the unbiased estimator $$\hat{\sigma}^2 = \frac{1}{n-...
My question: I'm looking for a taxonomy/bestiary/overview of machine learning techniques. I would like to learn 1) how these methods relate to each other, and 2) the relative costs and benefits (and perhaps typical applications) of the different approaches. Background: I'm trained in statistics, and have a reasonably...
Imagine that I have an unnormalised distribution $P$ with density function $p(x)$ for $x \in \mathbb{R}^d$. $P$ has two well-separated modes and there are two sets of i.i.d. samples with the size $n$ that each of them has been taken from one of the modes. I would like to know how I can combine these samples in an unbia...
when performing a Scikit train/test split like so: X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3, random_state=0) with categorical target values (y from above) already label encoded : class_le = LabelEncoder() aDataFrame['aTarget'] = class_le.fit_transform(aDataFrame['aTarget'].values) I c...
Most of my knowledge about cross-entropy cost is from this tutorial With cross-entropy the partial derivative to the error with respect to a weight in the output layer is: $$ \dfrac{∂C}{∂w_{k}} = a_k*\dfrac{σ′(z)}{σ(z)(1−σ(z))} * (o_{out} - o_{target}) $$ Which simplifies, according to the guide, to: $$ \dfrac{∂C}{∂w_{...
I have a dataset with a dependent variable that is discrete. It can take only six values. The input variables are all continuous. I am using R to do data exploration. I am using boxplot(discrete vs continuous) instead of scatter plot which looks strange. 1. I am using corr command to get the correlation value. My prim...
I have a large data set with binary outcomes $\vec{y} = (y_1,\dots,y_n)$ with $y_i\in\{0,1\}$ and covariates $\mathbf{X} = (\vec{x}_1, \dots ,\vec{x}_n)^\top$. One of the goals of the model I am fitting is to forecast the risk weighted sum $$r = \sum_{i=1}^{n_{\text{future}}} z_i \widetilde{y}_i$$ where the $\widetild...
I am trying to solve the discrete Mountain-Car problem from OpenAI gym using a simple policy gradient method. For now, my agent never actually starts making progress. In OpenAI's implementation, the agent gets a reward of -1 for every timestep, and the episodes ends when the agent reaches the top of the mountain, or wh...
I need to plot the empirical pdf of the data: X = [8.13010235400000,13.6713071300000,14.0362434700000,18.4349488200000,26.5650511800000,30.9637565300000,34.3803447200000,40.6012946500000,45,49.3987053500000,58.6713071300000,59.0362434700000,59.0362434700000,59.0362434700000,61.9275130600000,61.9275130600000,63.43494882...
My country Costa Rica is having elections and I am intrigued about one of the polls I've seen. The voting population is 3322329, so they took a sample of 3300 people for an error margin of 1.7% and a confidence level of 95%. Everything good so far, where I am having doubts is how then chose their sample. The country is...
I am reading the Bishop Pattern Recognition and Machine Learning and am on section 9.3 An Alternative View on EM: I am confused as to how Bishop obtains the expression $Q(\theta, \theta^{old}) = \sum_{Z}p(Z | C, \theta^{old}) lnp(X , Z | \theta)$ Thank you for insight! ANSWER: In the method of maximum likelihood, we're...
I read that: 1) The null hypothesis used is d=2, if et and et-1 are uncorrelated, et minus et-1 should have twice the variance of et itself. 2) the numerator of the statistics is covariance Are we able to proof that the numerator is the covariance? I got the below but not sure if my steps are right. Seems to be far ...
If multiple [cost, gamma] values yield identical or extremely similar cross-validated performance (regardless of the specific metric - ACC, F1, MCC), then what is the technique which should be used to select which [cost, gamma] to train with? I have seen cases where equal (and also approximately equal) performance resu...
Suppose I run a RL algorithm and for every episode, I grab the (average) maximum Q value. I do this for several runs (with different hyper-paramters, for instance) to compare performance of my RL algorithm. The curves look something like this. What can I say about the performance of these runs? Is larger the maximum...
I'm doing an assignment on which I'm analyzing a data sample of roughly 1400 soccer players from Europe and I'm not sure how to interpret the coefficient of variation, to be honest. For instance, when it comes to the variable "Age" the coefficient is 14.84%, on the variable "Weight" it's 8.24% and it's 3.39% for the "H...
I am trying to complete a binomial GLMM but I don't think that the residuals look right when I compare them to the years. Is this too much of a pattern in the residuals? My model looks like this: binary response ~ carbon + I(carbon^3) + nitrogen + class + (1|Year). In my model, carbon and nitrogen are scaled isotope...
For instance, I have an ARIMA (1,0,1) process (determined by auto.arima function, and analysis of residuals which are white noise). I know how to read an ACF for a strict AR(p) process or a MA(q) process, but how does one infer from the ACF and PACF that we have an ARIMA (p,q) process. Are there any resources out there...
I have learnt time series courses but may have forgotten some important and basic pieces. For typical times series data say AR data, there is only one observation at a time. How do you define the variance and compute it? Please help! Thank you all.
I have a stats problem I cannot solve, I have the answer and I have attempted the question. I just need to know where I am going off track. Any assistance would be highly appreciated. Q: What is the probability that a six-digit telephone number has no repeated digits? Do not allow the number to start with a zero. Answe...
I have a dataset with 3 features and a pile of quite flat rectangles. My task is perform clustering on this dataset using any clustering method but not hierarchical. I have scaled all features and do kmeans with 6 clusters and got bad result. Tried also to do MDS but I havent enough memory. PCA doesnt work too. It seem...
Im new to panel data, and I am struggling to figure out if paneldata regressions can be used for making predictions outside of the sample to which it was generated. Thanks, Mathias
I am trying to use PCA to compress pictures and audio. For example in the case of audio, the audio is cut into blocks and then the blocks are fed into the data array as new cases. Question: The data matrix for PCA is generally centered, sometimes even normalized. For compression application, should this centering and n...
I am a Performance psychology student and previously have very little experience with statistics. I gave an 8 week intervention to 15 students. They were tested 3 times, pre course, mid course and post with 3 different questionnaires, wb , Ders and Maas. I also have a control group of 10 who were tested also 3 times wi...
I have regression output like so: OLS Regression Results ============================================================================== Dep. Variable: e R-squared: 0.284 Model: OLS Adj. R-sq...
I tested an interaction in a correlative study (N = 220). The interaction was non-significant but one of the simple effects was. Is it somehow possible to calculate power based on this simple effect? Because both variables were continuous I don't have an exact number of participant in the "cell" in which I found the si...
I will start with saying I am a complete beginner and doing this assignment for a class, and having some issues on how to get this to be accurate and (somewhat) show it's working! Can someone that knows way more than myself help me understand the issues and what I can do to improve what I am getting back. Thank you. Us...
I am using the R package nlme to perform a repeated measure analysis. The model call is mymodel<-lme(measure~time, data=mydata[is.finite(mydata$measure),], random= ~ 1 | subjectId/time). I would like to provide an estimate of the standard error of residual, by means the residual after the time effect (the pure random r...
Deriving decision-trees for numeric data, there is the option of treating all numeric values as discrete, i.e., proceeding exactly as we do with categorical data. What problems may arise when we use a tree derived this way to classify an unseen example?
What is the benefit of applying the following on the data set? If I have a data set that is distributed as follows: after calculating the Maximum of logarithm of the likelihood function and applying it to the data according to the equation: The distribution is as follows:
In football (not American football but what Americans call soccer), it is pretty clear: we may consider the difference of two independent Poisson variables. In basketball, in theory, we could increase the intensity of the Poisson process, however in basketball we also have the shot clock (24 seconds), so it is not real...
My question originally arises from reading this post Use of circular predictors in linear regression. Right now, I'm trying construct linear regression using "Bike Sharing dataset" from https://archive.ics.uci.edu/ml/datasets/bike+sharing+dataset which basically tries to regression bike rental count on different varia...
My study is investigating the effect of 6 IV's on a categorical DV (yes/no- yes is coded as a higher score i.e 2) in 2 countries to see which of these IV's is a most important in predicting the DV in each country. A logistic regression stratified for each country shows me some variables had an effect (i.e predicted) th...
For sklearn's Random forest classification module, setting max_features to none takes into consideration all the n features for building each tree. In this case, how is it different from applying bagging to simple CART. Also isn't feature sampling the USP of random forest.
Both Adaboost algorithm and Gradient Boosting (with exponential loss function) try to minimize the exponential loss function. From Elements of Statistical Learning p.344: "Hence we conclude that AdaBoost.M1 minimizes the exponential loss criterion (10.8) via a forward-stagewise additive modeling approach". If I follow...
I understand how to think about residuals in the context of linear regression: we have a dataset of N rows and columns x, y, of linear data $y = mx + \varepsilon$, we pick a linear model $f(x) = \hat m x$ and estimate the $\hat m$ which minimizes the error function (squared residuals). Then for a given $x_i$ the predic...
I have a dependent interval variable with a scale that looks like this: Percent of employees who work at home: 1-5% 31-35% 61-65% 91-95% 6-10% 36-40% 66-70% 96-100% 11-15% 41-45% 71-75% 16-20% 46-50% 76-80% 21-25% 51-55% 81-85% 26...
I thought I was coming to understand the difference between (binary) GLMMs and Marginal Models using GEE...until I encountered the following passage in Hosmer et al (2013: 328): The clear weakness of the population average model is that it cannot address effects such as age. The cluster-specific model is best suited f...
Recently learned that Levene's test is a one-way equal-variance ANOVA done on absolute values of residuals calculated from the mean within each group. For one-way ANOVA the minimal sample size seems to be having at least one group with more than 1 observation. But in the case of Levene's test it gets a bit tricky for m...
I want to check whether a statistical test truly rejects at the specified significance level of $\alpha=0.05$ under the null hypothesis. I'm going to verify this result using simulations with a $0.5\%$ margin of error. What hypothesis would be appropriate for an exact test (non-asymptotic)? And exactly how many simulat...
I am going through the Vignette of R GLMnet package. In the plot section, I am confused about the interpretation the author gave What does he mean by the Lasso performs the best here? How can he say that from the graph? Thanks in advance
Back in the university I was working on a program that generates a sequence of random autocorrelated numbers. Autocorrelated meaning that each next value is close to the previous one and depends on it but still is random. The sequence was meant to represent a real road surface profile to be used in models of vehicle mo...
I'd like to assign undergraduate students with little to no math experience an article, short part of a book, or even a blog post about causality and counterfactual logic that is easy to understand. It seems that most articles and books are too advanced for undergraduate students unfamiliar with formal logic or statis...
I am analysing data from a discrete choice experiment from a sample of 1000 responses where a respondent were presented with two cards and had to choose their preferred option. In the survey there were 3 attributes out of which one was categorical while the two other (price, speed) were continuous. Below is the model o...
I am currently going through Machine learning and pattern recognition and I have following dilemma: A algorithm for MLP is presented in that way and corresponding python code to equation 4.9 (which is of interest to me) is written that way deltah = self.hidden*self.beta*(1.0-self.hidden)*(np.dot(deltao,np.transpose(se...
This is 100% curiosity, so I apologize if the question is under-constrained. If so, please comment with where my thinking is misguided! Can a feedforward neural network predict a sinusoidal relationship? In the simplest case, where y can be reliably predicted as sin(x) (that is, f(x) = sin(x)). Can this be accomplishe...
I'm studying Carter and Kohn's (1994) implementation of the Gibbs sampler for Bayesian analysis of state space models. In their paper, they assume the starting value, call it $\beta_0$, of the state vectors has a proper distribution. Applications of their algorithm (such as the time-varying vector autoregression of Pri...
I just need a hint.(still learning) I'd like to create a simple model that uses MLR. Basically, I add some parameters (temperature, irradiation...) and predict a parameter. But I'd like to add also (temperature^2, irradiation^2... ) and so on. But is there a theory/(know how) on whether to use squared values or square ...
Let $X_1,\ldots, X_n$ be $n$ uncorrelated random variables from a Gamma distribution with different parameters: $X_i \sim Gamma(k_i, \theta_i)$. What is the distribution of $$ U=\log \left[ \dfrac{\bar{X}}{\tilde{X}}\right]$$ where $\bar{X}$ is the sample arithmetic mean and $\tilde{X}$ is the geometric mean. EDIT: ...
I'm learning econometrics and I'm stumped with a textbook problem. Use the JTRAIN dataset (which provides information on manufacturing plants in Michigan from the years: 1987, 1988 and 1989) to determine the effect of the job training grant on hours of job training per employee. I'm estimating the model using three me...
Given an AB-test, I have two variants running over a certain timeperiod gathering data. I split the time period up in smaller frames and cumulative add the population for the given variant as well as the number of times the goal is reached in each group. Afterwards I take the increase (in %) from the control to the var...
Most data for which Pearson correlations are calculated are not truly normal. I've seen textbooks cite +/- skewness of 2.0 as "too much skew" to rely on correlations as measures of association strength, yet I do not know of any real analysis of how robust correlations are to the influence of skewness. At what point wou...
Goal: Test if there is a statistical difference between Tue and the rest of days of the week. Background: I wanted to use ANOVA but it analyzes the differences among group means. My values represent the sum of many counts for time-series data and not the mean value, so I am not sure what test to run. I have the follo...
I've got donor segments Donors aged 34 and younger, vs. donors aged 35 and older Donors with a high frequency of donations vs. donors with a low frequency of donations Every row in my data frame represents a donor. Some of these donors are still active, some are lapsed. How can I display a 2x2 table of the proporti...
If I have two OLS models with the same number of parameters, all of them zero p-value, then next thing I look at is which one has the largest $R^2$. But in the case of GLM, how do I decide which of two models is best? (Again, assuming that both have the same number of parameters, all with zero p-value)
The random variables $Y_i$, $i = 1,...,n$ are normally and independently distributed with $E(Y_i) = \beta x_i$ and $Var(Y_i) = \sigma^2 \times x_i$. Find the ordinary least squares estimate of $\beta$. What are the expected value and variance of this estimate?
I have 1 year of daily data which is separated by months. From the graph, month-end spikes can be seen every month. What statistical test can be used to prove the monthly month-end spikes existence?
I know that when we have an experiment that involves a normal distribution, regression to the mean kind of just falls out as a necessary result. But even though this is touted as a law of statistics, does it really hold for every distribution?