instruction
stringlengths
9
38.7k
I have two different regression models which I learned from two different data sets. Is there any statistical method which shows the significance of models based on the number of parameters and cross validation errors? The problem is that I used two different data sets and I worry that it might not make sense to compar...
A number of sources suggest that there are many negative consequences of the discretization (categorization) of continuous variables prior to statistical analysis (sample of references [1]-[4] below). Conversely [5] suggests that some machine learning techniques are known to produce better results when continuous vari...
I understand that the $p$-value is the conditional probability of observing the test statistic or something more extreme given that the null hypothesis is true. I have read the great explanation by @user28 in this post: What is the meaning of p values and t values in statistical tests? However, do large $p$-values say ...
I have been thinking about how to use regression to prove whether X factor is a necessary or a sufficient condition for Y. I am employing these terms in the traditionally logical sense, i.e. If no X, then no Y --> X is necessary for Y If X, then Y --> X is sufficient for Y The reason I'm asking is because in social s...
I have a variable that has 57 kurtosis, so I decided to transform it to log. However, I have multicolleanirity problem due to interacting this variable and others with another variable so I am using z scores to reduce VIF value. So ... Is it ok to transform the log variable to z score thank you so much
I'm doing a survival analysis and after plotting the Schoenfeld residuals and test the significance of the correlation of residuals with time, I've decided to incorporate a interaction in the model. It makes sense since the variable outcome have a varying effect over time, for those who defaulted the previous episode, ...
I have a data frame with the following structure: age gender region homeowner.status extrovert agreeable conscientious type 1 34 Female Northern England Mortgaged 7 4 5 3 2 38 Female South East England Mortgaged 4 3 6 1 3 35...
I heard that the F-test is to advice you whether to use fixed effects or pooled OLS. However, I didn't find any details about it in books. Only in a very few studies. What is the hypothesis of the test? After I run my fixed model I got F test that all u_i=0: F(100, 389) = 2.98 Prob > F = 0.0000 As ...
It is admitted that it is complex to interpret main effects when they are involved in an interaction. Lets take a regular linear model, with two categorical 2 level variables A and B who are interacting together. The model can be written: lm(Response ~ A + B + A:B) Lets call I the intercept, a2 the estimate associated...
In my Bayesian network there are plenty of repetitive variables leading to the use of plates(http://en.wikipedia.org/wiki/Plate_notation). I do not want the exponential space complexity in implementing the bayesian network. But the way traditional libraries(like dlib on c++) offers bayesian network, it is always expone...
I am reading a book example (diagram from p10) in which a person scores 9/10 on which we assumed a uniform prior. The posterior distribution could be easily worked out analytically, but the book gives an example of estimating the posterior distribution by MCMC methods. I can see from the bottom part of the diagram that...
I gathered 11 responses to a question where the options were A, B, or C. 9 people answered A. 2 people answered B. 0 people answered C. Using Clopper-Pearson 95% confidence intervals, I obtained that P(A) ranges from (0.48, 0.97), P(B) ranges from (0.2 to 0.52), and P(C) ranges from (0, 0.28). What statements can I mak...
My svm classifier model always predict 0.5 as probabilities. svm.model <- svm(repeater ~ idRepeatBuyRatio + idTotalPurchase + c + d, data = trainData, cost = 100, gamma = 1) svm.pred <- predict(svm.model, testData, probability = TRUE) head(attr(svm.pred, "probabilities")) t f 1 0.5 0.5 2 0.5 0.5 3 0.5 0.5 4 0.5 ...
Work out the autocorrelation $r_Y(\tau) = E[Y(t)Y(t+\tau)]$ with $Y(t) = \int_{-\infty}^{\infty} h(t-u) x(u)$ and $X$ a WSS, ergodic process I always get: $h(t)* h(t+\tau) * r_X(\tau)$ (with $*$ convolution) My approach (after multiplication) $\int h(t-u) ( \int h(t+\tau -u')r_X(u'-u) \text{d}u' ) \text{d}u$ The inn...
I'm working on generating a weighted linear model in R using the lm function. My dataset has about 1200 observations. My independent variables are a set of 168 principal components, i.e., the independent variables have already been normalized and are uncorrelated. There are no factor variables. The weights vector has v...
In an experiment, 25 subjects (Group A) are assigned to play an adventure game (with audio and non-audio) while another 25 subjects (Group B) are assigned to play a strategy game (with audio and non-audio). Each game has two levels (audio and non-audio). The independent var are: (i) groups (A and B) (ii) game types ...
I'm trying to find an analytical form to describe these probability density functions: I'm pretty new to all of this, but think I should use some linear combination of basis functions (so I can then use linear regression to find the coefficients for each of the pdfs) but I'm not sure where to start. It also needs to b...
I’m reading a research paper and the author prepared two print-advertisements of jam, one with an old lady (Ad1) the other one with an exotic lady (Ad2). Both print-advertisements (Testanzeige) have the same written information. Hypothesis: With the increase of the need for variation (CSI), the Advertisement Attitude...
In this paper on particle filtering with gradient descent, the authors sample Xk+1 through gradient descent, then update the covariance matrix P associated with Xk+1 as follows: Pi+1(k + 1|k + 1) = Pi(k + 1|k)− Pi(k + 1|k)[Hi+1x(k + 1) Pi(k + 1|k) · (Hi+1x(k + 1))' +R(k + 1)] Hi+1x(k + 1) Pi(k + 1|k) where Hi+1x(k + 1)...
I am facing problem in getting the good fit indices. I have only 163 respondents with a total of 4 variables and 70 items (A: 5 components, 3-4 items each; B: 3 components, 8 items each; C: 4 components, 4-5 items each, D: 11 items). The initial values for fitness indices were: ChiSq P-value = .000; RMSEA = .071; GFI =...
I have data which correspond to a corner solution. The Tobit-model seems to be adequate for this data. However, I also wants to control for a baseline variable (t-1) and unobserved heterogenity. This is normally not permissable in the Tobit model. I understand that Wooldridge have solved the problem in this paper: http...
My knowledge of statistics is limited and I am looking for resources to read on the matter if possible. Anyways, I am currently trying to estimate a confidence interval for a proportion over time. The specific example pertains to a trader's Win % as he make more trades. My current idea is to take the first $n$ sampl...
Maximum entropy classifier is mostly used for Natural Language Processing, in which the datas are discrete. I learned the formalism from the paper A maximum entropy approach to natural language processing and understood most of it. My question is, how to apply the Maximum Entropy principle to do the classification on a...
I have a binomial variable that I regress against different categorical variables which I have contrasted to build a reference of an individual Female, Married, aged 35-45, High education : Call: glm(formula = wpti ~ gender.f + is.married.f + age.f + edu.f, family = binomial(link = "logit")) Coefficients: ...
I have a bunch of time series where the data has a natural (known) cycle, for example daily or annual (or both). Here is an example (this is 6 years worth of temperature data sampled hourly): Source data: http://pastebin.com/GESpGqVu How can this data be compared? How can we check (for example) whether the first thr...
I have found that in much of the data that I am looking through, after sorting from largest to smallest, there is a pattern similar to a rotated logistic function. That is, it declines steeply along the vertical axis at first, evens out, and then continues to decline along the vertical axis at the same rate as it decl...
For example, when estimating the proportion of database records that agree with paper documentation. Auditing each record is tedious, so it is tempting to include the pilot sample in the main study (once the required main sample size is estimated). Provided the sampling method is the same, does this introduce bias?
In Multinomial Naive Bayes Classifier, which parameter estimation do we use, is it Maximum Likelihood or Maximum A Posteriori? If any one of the esteemed members may kindly help me out.
I am trying to understand the logic behind chi-squared test. The Chi-squared test is $\chi ^2 = \sum \frac{(obs-exp)^2}{exp}$. $\chi ^2$ is then compared to a Chi-squared distribution to find out a p.value in order to reject or not the null hypothesis. $H_0$: the observations come from the distribution we used to creat...
When comparing variances, very often a F-test is used. $$F=\frac{s_1^2}{s_2^2}$$ We then compare $F$ to an F-distribution. The assumption of this test is that the two samples (which variances are $s_1^2$ and $s_2^2$) are normally distributed. Can you please explain why (given that the two samples are normally distribut...
As a work assignment, I've been asked to determine the optimal SKU count for a product group. I've decided to tackle this Q using a simple linear regression with sales as my dependent variable and the # of SKUs and the # of SKUs squared as my independent variables. My data set is a cross section of store sales and SKU ...
I've been reading about Item Response Theory during the past few weeks and I'd like to use it to examine how my scales are functioning. The response categories are ordinal. If I understood well, the Graded Response Model is particularly appealing because it is more flexible than other alternatives such as the Partial C...
I am working Automatic Email routing. My historical data set has Email Description,Division and Category. There are around 20 division and 150 categories. I have built one vs. all classifier (RTextTools - SVM) for 20 divisions and trained 20 classifier and when the new email comes in , my container(SVM Models) gives me...
I'm trying to follow the proof from question 1b out of the book "50 Challenging Problems in Probability" by Mosteller. The problem states: A drawer contains red and black socks. When two socks are drawn at random, the probability that both are red is $1/2$. How small can the number of socks in the drawer be if the numb...
Suppose you fit a linear regression model on some data with 10 variables. The F-statistic shows that 3 of them are significant (p < 0.05) , 2 are within trend (0.05 < p < 0.10), and the other 5 are p > 0.10. Is it OK to throw out the other 5 (p > 0.10) and retrain another model? Perhaps this time the 2 within trend wil...
I'm linearly regressing some response y onto some predictor x. I'm interested in knowing for what x does y = 0. I can think of two ways to do this. Let me illustrate with some sample data: x <- 1:10 y <- 20 - 2 * x + rnorm(10) I can either linearly regress y onto x and solve the equation explicitly: - coef(lm(y ~ x))[...
I am designing RBM with CD training methodology in MATLAB. CD is an unsupervised learning algorithm, so I do not need to use any label information included in input. Does that make sense?
A distribution has the characteristic function $$\phi(t) = (1-t^2/2)\exp(-t^2/4),\ -\infty \lt t \lt \infty$$ Show that the distribution is absolutely continuous and write the density function of the distribution. Attempt: $$\int_{-\infty}^{\infty}|(1-t^2/2)\exp(-t^2/4)|dt =(-2/t)(1-t^2/2)\exp(-t^2/4)-2\exp(-t^2/4)|...
I have to find out the relative contribution of factors(variables) that i used in my regression(Multiple regression) equation. Currently my approach to find out relative contribution is that i take standard beta estimate of a variable divided by sum of all the standard beta estimates of all the variables included in my...
I want to calculate concordant and discordant pairs on nx2 tables. __________________________ | Value1 | Value2 | |_____________|__________| | 0.3434 | 1 | | 0.2132 | 2 | | 0.3 | 3.3245 | | 0.6 | 0.12321 | | 0.745234 | 523 | ...
We know if two variables are functionally independent then there will be stochastic independence as well. Can any one give me an example when the converse is not true i.e. $X$ and $Y$ are independent (stochastic) but not functionally independent?
Does independence of $X^2$ and $Y^2$ imply independence of $X$ and $Y$?
I'm using a service (Optimizely, as it happens), which show a confidence interval but doesn't explain what it is. I'm assuming it is a Binomial Confidence Interval, but I have no idea what the % certainty of the range is, or the detailed meaning. Searching the Internet doesn't help - there is nobody with a clear explan...
It seems that data mining and machine learning became so popular that now almost every CS student knows about classifiers, clustering, statistical NLP ... etc. So it seems that finding data miners is not a hard thing nowadays. My question is: What are the skills that a data miner could learn that would make him diffe...
I'm running a RandomForest in R on a set of data with many variables. Using varImpPlot() I know how important is each variable to explain the target variable. However, I would also like to know whether a variable affects positively or negatively the target value. For example, in predicting personal income, I may get th...
My supervisor once told me that before I run any classifier or do anything with a dataset I must fully understand the data and make sure that the data is clean and correct. My questions: What are the best practices to understand a dataset (high dimensional with numerical and nominal attributes)? Practices to make sure ...
I am using boot() and boot.ci() to furnish confidence intervals for the difference in the $c$-statistic (AUC) between models with and without a novel biomarker. My method is below. I am not sure if this is the correct way to go about it. Here is example data (n = 500, 3 columns: disease status (1/0), covariate (1/0) an...
My understanding of the bayesian vs frequentist debate is that frequentist statistics: is (or claims to be) objective or at least unbiased so different researchers, using different assumptions can still get quantitatively comparable results while bayesian statistics claims to make "better" predictions (i.e. lower ex...
We often normalize inputs to the k-means algorithm by 1) subtracting the mean on a per-feature basis and 2) dividing by the standard deviation on a per-feature basis. Some rational behind this is discussed here: Are mean normalization and feature scaling needed for k-means clustering? But it seems strange to assume tha...
I have tick by tick data of two financial time series. I am trying to do online regression between the given two time series. But I am stuck due to asynchronic nature of given financial time series which causes my matrices in online regression to be singular. To deal with this, I am updating with the previous value. Bu...
I want to do a mediation analysis, with the following variables: X: Independent variable: Categorical (2 levels) M: Mediator: Categorical (5 levels) Y: Dependent variable: Continuous my model: Following MacKinnon, Lockwood, Hoffman, West, & Sheets (2002), I need to perform 2 analysis: Regression analysis with X as...
I'm trying to read this article about Bayesian logistic regression. In general, to classify instances, they use: $p(y=+1 |\beta) = \sigma(\beta^TX) $ (where $\sigma$ is obviously the sigmoid function). Now they need to find the values of $\beta$. They then say that to avoid overfitting, they'll use a prior distribution...
I often see people making a dimension/feature of a dataset be of a zero-mean by removing the mean from all the elements. But I never I understood why to do so? What is the effect of doing that as a preprocessing step? Does it improve the classification performance? Does it help to answer something about the dataset? Do...
I often saw a formula, used mostly to integrate on the parameter space like: $$ p(x|y) = \int p(x|\theta) p(\theta|y) d\theta $$ where $\theta$ is the parameter. I am confused and I hope to explain me how is that. I know that $p(x) = \int p(x,\theta)d\theta = \int p(x|\theta)p(\theta)d\theta $. If I use a similar ide...
I perform ridge regression for classification. To find regularization parameter I do K-fold cross-validation with classification accuracy as a measure. This gives me some $\lambda$, which I then use in training of a final model on the whole available training data. The problem is that when I take 10*$\lambda$ my test ...
I want to find the relationship between a disease incidence in a region and a number of other environmental factors such as temperature, elevation etc. I have tables containing this data for a particular country. The data files are raster files of the country map with each pixel having certain numeric value for the par...
Lets say I want to generate data with particular association matrix. I am taking phi coefficient as a measure of degree of association. Here are examples using R. require(psych) var1 <- sample(c("P", "A"), 10000, replace = TRUE) var2 <- sample(c("P", "A"), 10000, replace = TRUE) mydf <- data.frame (var...
I have a fairly basic statistics application question. Lets say I have a set of four fold-change values, representing the abundance of a factor as it passes through four consecutive time points: x<-c(1.0, 1.2, 15.3, 0.2) And I want to define its "trend" ie, a single-number representation of how it acts during the enti...
Suppose I have two events $B$ and $A^c$ and I wish to compute the probability of their intersection. I just want to ensure that the following proof holds (i.e., is correct -- I'm a little rusty). Updated! Assume the events are independent. \begin{gather*} P(A^c) = 1- P(A) \\ \end{gather*} so \begin{align*} P(B \cap ...
I followed this tutorial to learn Hierarchical Linear Regression (HLR) in R, but couldn't understand how to interpret its sample output of >anova(model1,model2,model3) The tutorial simply says each predictor added along the way is making an important contribution to the overall model. But I would like some more det...
The following figures show examples of ROC curves: First of all ignoring the picture, from a logical point one can say: When the cutoff value decreases, more and more cases are allocated to class 1 and therefore the sensitivity will increase (true positives in relation to total actual positives). The specificity will ...
I'm wondering if there are any statistical issues with using a dummy variable that is a subcategory of another dummy variable. For example: Let's say I am trying to predict a binary outcome of whether a child goes to college. If I have one dummy variable "NYC" for "lives in New York City" and another "Bronx" for "lives...
In regression, you encode a categorical variable with n possible values using n-1 indicator variables. How about for neural networks?
I am really new to R and to time series. My field of studies is in the field of Networks and Telecommunication, but my summer internship is about trying to find a statistical model for some sets of data. The data consists of what is called "10-minutes-points", recorded over a year and which represent power consuption o...
Suppose I have a set of objects, each of which can take on values within some unknown range, and each of which only has one sample of 50+ values associated with it. The values of each observation is not known. In order to determine how likely it is for the value of an object in a set of objects $O$ to have a negative...
I have a zoo series with many missing values. I read that auto.arima can impute these missing values? Can anyone can teach me how to do it? thanks a lot! This is what I have tried, but without success: fit <- auto.arima(tsx) plot(forecast(fit))
I want to check if there is residual autocorrelation in my model and the test for this is the Durbin-Watson test. I am using R and my question is if it makes a difference which type of residuals one uses when applying the test, since there are several types of residuals like deviance, pearson, working...
Two approaches have been proposed in order to overcome the issue of multicollinearity if we have interaction variables which are mean centering and standardizing (z scores). You can check No.2 in this article for more details http://www.statisticalhorizons.com/multicollinearity > which better do you think and why? ...
I'm trying to fit longitudinal item response theory (IRT) models in R. I have a test that was administered at multiple measurement occasions. I'd like to examine individuals' growth curves of factor scores (i.e., ability levels) from graded response models (GRMs). I have used the ltm package in R to fit cross-sectio...
I have measurements for daily space heating vs daily mean outdoor temperature for two different control strategies. The data is shown here: I have also performed linear regression, of the form: lm(Energy ~ Control * MeanOutdoorTemp) This yields four coefficients: Coefficients: Estimate Std....
I am trying to fit several MLEs on a small dataset. I have managed to get it done for all my potential models except for this last one. This last one is actually the model that I expected to be the best model, because it was the best model when I did the whole thing using GLS. To start, here is the data: dat$rate <- c(...
I have a longitudinal data set in which my predictor/Independent Variable is dichotomous and was assessed at age 4 years, and my outcome/Dependent Variable (depressive symptoms) was assessed at 16 years. I would rather not arbitrarily dichotomize the DV, and I would prefer to avoid non-parametric stats so that I could...
During study our of statistics in my psychology coursework, we had to teach ourselves how to use generalized linear models in SPSS (only basic knowledge). For an exam we may also use generalized linear models and I want to try it, but I have two problems: According to the distribution of the dependent variable, a norm...
Does anybody have any suggestions about promoting the use of a regression tree over a GLM when the two models fit the data almost exactly the same? My team's current arguments are a) a tree is easier for non-technical people to understand and b) when the two models' predictions are implemented -simplified as needed- a...
Using R, I want to run a linear regression to estimate the abnormal return on days with positive, negative and neutral news (CLASS). I'm a beginner in R, as well as in using regression models! First of all the data structure is as follows. CONTROLVAR just represents all the columns I use as control variables. DATE <- ...
I have a data set consisting of about 100,000 rows and two columns. The values in one column range from 0 to 10^9 the values in the other column range from 0 to 245. I've calculated the covariance between these two values and the result is 5x10^8. I realise this suggests two things: 1) There is a correlation 2) It's a ...
I have race as a variable in my model and my measurement reflects the executives' race in the company's management (score 1 if any specific race is in the management). The problem is that managements of companies have more than one race in their executives. So when I want to statistically summarize race which are four,...
I have what is possible a naive question. I am current comparing various models (i.e. distributions). And the comparisons do not involve different distributions but rather how the model is fed the data. For example, two models might be 1) a mixture of a gamma + exponential and 2) a mixture of a gamma + exponential whe...
I've been reading Simulation of logistic regression power analysis - designed experiments, http://sas-and-r.blogspot.com/2009/06/example-72-simulate-data-from-logistic.html, and Power analysis for ordinal logistic regression and I'm still a little lost on how to do a power analysis for my data. I want to be able to det...
Let $X$ be a random variable with distribution $F_X$ and density $f_X$. Define $$g(x) = \left\{ \begin{array}{lr} x & : x \ge 0\\ 0 & : x < 0 \end{array} \right\}$$ and let $Y=g(X)$. What is the PDF of $Y$? My approach: via CDF $$F_Y(y) = \Pr(Y\le y) = \Pr(g(X)\le y) = \Pr(X\le y) = F_X(y), \ y\ge 0$$ Aft...
I have a data that exhibits nearly a power law distribution, and I want to know a good binning technique to summarize the statistics. For example consider the following data: $$ \begin{array}{rr} \textbf{Object} & \textbf{Count}\\ A & 82952\\ B & 8832\\ C & 1801\\ D & 555\\ E & 231\\ F & 123\\ G & 60\\ H & 43\\ I & 28\...
I have the following data for various event locations. Each event can either be a success or failure (binary values). Thus the mean = percentage of successes. The data represent the history of events $$\begin{array}{c|c|c}\rm Event\ location&\rm Number\ of\ events &\rm Mean\\\hline A & 10 & 0.5\\ B & 2 & 1\\ C & 1 & 0\...
I am working on a problem that requires me to measure groupings of people. I have the location of every individual in my sample at every point in time. It's therefore trivial to calculate the distances between each individual for a certain point in time. Is there a way I can think about groupings using these pairs? Cu...
I am developing a regression model and most of my variables are 0/1 variables. Should these variables be treated as factor variables in the model or can they just be left as numeric 0,1?
I want to approximate the distribution of a binomial random variable $X\sim B(n,p)$. In all references I have seen it is done by a normal distribution. (Of course the Central Limit Thm and de Moivre–Laplace thm are good justifications for it.) Doesnt though the truncated normal distribution on [0,n] give a better appro...
I have a derived dataset that specifies the percentiles from the 10th to 95th in increments of 5 along with the total number of data points. Is there a way to estimate the mean of the original dataset?
I am just wondering what we can infer from a graph with x-axis as the actual and y axis as the predicted data?
Background I'm trying to understand the first example in a course on fitting models (so this may seem ludicrously simple). I've done the calculations by hand and they match the example, but when I repeat them in R, the model coefficients are off. I thought the difference may be due to the textbook using population vari...
Stable distributions are invariant under convolutions. What sub-families $F$ of the stable distributions are also closed under multiplication? In the sense that if $f\in F$ and $g\in F $, then the product probability density function, $f \cdot g$ (up to a normalization constant) also belongs to $F$? Note: I substantial...
I would like to calculate $E[log{(a-b*x)^2}]$ where $a$ is known scaler, $b$ is a known row vector and $x$ is random column vector following a multivariate normal distribution with a known mean and covariance matrix. What is a quick way to calculate or approximate this expectation numerically [without using simulation ...
I have a distribution that is skewed to the left (i.e. a lot of low values, aka positive skew - verified) Basically, I have either a lot of similar low [~minimum] values, or 0 values, or something like 1 value that is the only value below the median value. The data has already been normalized to 0 to 100% based on an E...
I have some functions of $x$, in the form of $d\sqrt{x}$ or $d\log(x)$ where $d$ is known. I would like to rewrite (approximate is fine) them in the form $a/(1 + bx^c)$, where $a$, $b$ and $c$ are arbitrary. I don't think there are $a$, $b$ and $c$ such that the two curves will match exactly, so I think maybe try to fi...
I'm fitting a classifier with cross-entropy loss (i.e. Bernoulli likelihood). Some examples are very clearly associated with one class or the other, and despite some attempts at regularization, the classifier sometimes assigns probabilities $<10^{-9}$. While the true probability might actually be this small in some cas...
i want to make classification with naive Bayes. I have got about 100 Features. Numerical ones as well as categorical ones. Since i want only the most relevant ones to be included for the classification task i want to find them with some kind of feature elimination. My question now is the following: what is the method t...
While playing a friendly game of Texas Hold'em poker, a player drew a 7 card straight. Although in texas hold'em a player may only use 5 of the possible 7 cards, the discussion about odds immediately came up. What are the odds of getting a 7 card straight? For those unfamiliar with poker, the question can be asked thi...
Let $X_1$ and $X_2$ be real-valued independent random variables with a standard normal distribution. Let $ Y = X_1X_2$. Find the characteristic function of Y. Attempt: $\phi_{Y}(t)$ = $\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} exp(it(x_1x_2))exp(-1/2(x_1x_2)^2)dx_1dx_2$ I know that the standard normal characteristic...
I am currently using Boruta to test which feature is the most important to be used in my model development. For example, I have 3 features(X,Y,Z).Boruta test give the highest importance is Z. However when I test the feature with naive Bayes classifier, feature X is better performance. May I know why and how this situa...
As defined here, the estimation of the coefficient of correlation is $$r = \frac{\Sigma (X_i-E[X])(Y_i-E[Y])}{\sqrt { \Sigma (X_i-E[X])^2 \Sigma (Y_i - E[Y])^2}}$$ and the standard error of $r$ is $$SE_r = \sqrt{\frac{1-r^2}{n-2}}$$ How was $SE_r$ calculated?
From this source, the estimation of the coefficient of correlation is $$r = \frac{\Sigma (X_i-E[X])(Y_i-E[Y])}{\sqrt { \Sigma (X_i-E[X])^2 \Sigma (Y_i - E[Y])^2}}$$ If the coefficient correlation is null ($\space\rho = 0\space$), then its estimator $r$ is normally distributed with mean equal 0. Is this valid whatever i...
I have a question where I am not sure about the answer: A linear model has the following characteristics: *A dependent variable ($y$) *One continuous variable ($x_l$), including a quadratic term ($x_1^2$) *One categorical ($d$ with 3 levels) predictor variable and an interaction term ($d \times x_1$) How many paramet...