instruction
stringlengths
9
38.7k
I am trying to do a prediction with Lasso regression. When I plotted the predicted Vs. Actual, I got a very low correlation between them (shown in the figure). However, I feel that with some kind of transformation, I should be able to make the predicted values to lie on the (predicted = Actual) line. Is this possible? ...
When reading papers on machine learning, I have found that authors would often reference the "Shannon entropy". Curiously, often times the equation given would be: $$H(p) = -\sum\limits_{i = 1}^n p_i \ln(p_i)$$ For instance, see: https://arxiv.org/pdf/1502.00326.pdf https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf...
I am having trouble with the following equation from Russel and Norvig's AI textbook: For the first equality, I believe they are converting to joint probability, using marginalization, and then using the chain rule. However, I am not entirely sure where they get the second equality from. When I do it, I don't see how ...
I am trying to measure a statistically significant lift in sales and want to confirm appropriate methodology Test Design Created "Matched Markets" of 20 stores (10 in control vs. 10 in test) Source Data (represented as total sales during test period): Control Test 100 185 125 180 135 170 130 ...
ICM is very fast but I could not find any references that contain a detailed analysis on its convergence (e.g. rate of convergence). Any suggestions please? Thanks a lot for your help!
Why the following sentence is true "If the model is said to be adequate then the estimated residuals should be uncorrelated on average"?
The manufacturer of bags of cement claims that they fill each bag with at least 50.1 pounds of cement. Assume that the standard deviation for the amount in each bag is 1.2 pounds. The decision rule is adopted to shut down the filling machine if the sample mean weight for a sample of 40 bags is below 49.7. What is the p...
I'm working with a time series of macroeconomic data (independent variables) and bank loss rates (dependent variable) to show how bank losses vary based on the state of the economy. What I'm doing is two-fold: I need to identify the most predictive economic indicators for my model and then I need to regress those varia...
I am estimating the probability for an event to happen based on certain criteria prior to the event. The event either happens or does not happen (1 or 0). I have a few hundred thousand such pairs of 1) prior estimation in % and 2) 1/0 (happens/does not happen). My question is: What is the best scientific method to test...
I'm trying to model probability of specific deviation under defined conditions. For condition [C1,C2,C3] i have a value describing the deviation D. Obviously, if deviation D was achieved then all probabilities for achieving deviation D1 P(C1,C2,C3,Dx) describing probability P of achieving deviation of at least Dx under...
I am trying to calculate sample size based on required effect size for my test (site found here: http://www.sample-size.net/sample-size-means/) My inputs are as follows: α (two-tailed) = .05 β = 0.100 Split of Test Vs. Control = .5 Desired Effect Size = .03 Standard deviation of the outcome in the population = My confu...
In reading various summaries on the similarities and differences between principal components and common factor models, I have noticed that there seems to be conflicting information about whether PCA models are reflective (e.g., a special case of traditional EFA models, as Fabrigar & Wegener's 2011 book seems to imply)...
I have a signal X that depends on parameters Y (condition) and S (participant). I'm interested in classifying Y based on X, but a) the YxS contingency table of numbers of observations per Y and S classes is unbalanced and b) classifying S based on X yields high accuracy. Thus, I am worried about S-specific information ...
I am running this Poisson regression, and am facing a very strong pattern in deviance and pearson residuals, what would be an appropriate approach to rectify the model? Here is the head of my data: > head(bob_poisson_aggreg) ticketCount artistVotes capacity ticketsRemain 1 120 1168 169 ...
Given a variable measured sequentially e.g. -6,-3,0,2,-3,1,-5,7,-47.. etc, what are some methods to derive some reliable sequencing probabilities? e.g. if i-2>0 and i-1 >0 then i>0 etc.
I have trained few models using sklearn and python. However I have scaled the data for Support Vector Machines - standarized and for Neural Network - Scaled [0-1] since it gives me better results and I believe it should be like that. Since the ensembles usually gives better results than weak classifiers I would like t...
In a study with a small sample (n=83) the data were determined to be non normal, Non parametric measures were use and correlations were found between shared decision making in interdisciplinary teams and educational attainment coordination in interdisciplinary teams based on respondents’ years in their practice. Two ...
I have already estimated my DCC GARCH parameters and forecasted covariances on a rolling window basis. Now I want to use CCC GARCH forecasted covariances on the same rolling window basis as a threshold. I have two questions regarding the CCC correlation matrix: I know that the correlation matrix for CCC is supposed to...
In R, the residuals attribute of a generalized linear model fit is not the deviance residuals but the working residuals, which I guess are a product of the iterative scheme to perform maximum likelihood estimation. Are these residuals relevant to checking the model? Are they important to understand?
I have the following setting: $$ x_k \sim N(\mu,\sigma^2 + \hat{\delta}^2_k),k=1,\dots,K, $$ where $\{x_k,k=1,\dots,K\}$ - observed data, $\{\hat{\delta}^2_k\,k=1,\dots,K \}$ are known parameters (just consider them fixed), while $(\mu,\sigma^2)$ are unknown. My primary goal - making inference about $\mu$. Does anyone...
An apparently classic mantra appearing in about a dozen of ANOVA textbooxs i consulted reads roughly as: given any choice of $T-1$ orthogonal contrasts $C_1, \cdots, C_{T-1}$ in a (not necessarily balanced) $T$-groups (one-way) ANOVA design, the treatment (or "between-groups") sum of squares $SS_{Treat}$ can be decompo...
What is the default psi function for the rlm (robust regression) function from MASS package? Is it a bisquare function? If not, may I know what psi function it gives out by default if I do not specify anything except the y~x formula in it?
Consider the Ricker function: $$ y = axe^{-bx} $$ Where the maximum fitted value of $y$ can be obtained as follows: $$ y_{max} = \dfrac{a}{b}e^{-1} $$ and the value of $x$ at $y_{max}$ can be obtained as follows: $$ x_{max} = \dfrac{1}{b} $$ I wish to reparameterize the Ricker function so that $y_{max}$ and $x_{max}$...
X and Y are continuous variables. I have found a relationship between X and Y. Now I want to know if that relationship is characteristic of all of X. Is it possible to somehow examine that relationship at different points along X? In actuality, X was entered on the final step of a hierarchical regression. If it is poss...
I have a height in cm covariate, and the study involves 15-21 people (depends on what response we are looking at). The data is repeating measures. So, that's 15-21 unique height measurements. Is this continuous?
The Normal Distribution has maximal entropy for a given variance. Is there a distribution with minimal entropy for a given variance?
I have learned linear regression for a long time but obviously not good enough so this question may seem naive. Let's say using historical data from time 0 to time T we construct the linear regression model $Y = \beta_0 + \beta_1 X_1 + \beta_2 X_2 + \dots +\beta_nX_n$. And let's assume $Y$ and $X$'s have time series da...
A i am currently training a phoneme detector using a yes/no data set.. but the training accuracies seem a bit weird.. accuracies changes constantly.. Not quite sure How i should interpret.. Is it learning anythinG? I mean it just the accuracy on the training set that is crazy while the validation set is "pretty" const...
I am basically trying to build a model for analyzing my data. I put one termite on the leaf and another one on the inflorescences (in the same plant) and I did this in two different plant species. I observed the abundance of ants and how much time ants took to find the termite. I repeated this 30 times in different pla...
from this answer (Expectation of a squared Gamma) I would like to know the shape and rate parameters of a squared gamma. I struggle a bit here. Gamma(shape, rate)^2 -> Gamma(?, ?) Thanks.
It is known that raw residuals $\hat{\varepsilon_i}=y_i-\hat{y_i}$ do not have the same standard error, therefore raw residuals do not have the same distribution. Then plotting the raw residual against the quantiles of the same (normal) distribution would not make sense. However, it is traditionally taught to do an eye...
I've read somewhere but can't find it again that when dealing with null t distributions in a hypothesis test you shouldn't estimate the degrees of freedom from your data but instead use a low number like 3 or 4. Is this correct, and what is the intuition and reasoning behind this?
Let's say I want to see the effect of X1 on Y. I know X2 also has an effect on Y and I also know X1 has an effect on X2. Therefore, X1 can have an effect on Y directly and through X2. X1 and X2 are both continuous variables. Normally, I would do Y = X1 + X2 + e. However, due to the high correlation between X1 and X2, I...
For the calculation of confidence interval, is it the confidence interval for the population mean or sample mean. This confusion is arising due to the use of standard error in the calculation of the CI and standard error as per what I understand is used for the sampling distribution. This in turn implies that the mean ...
Background: Suppose I toss a coin 9 times. The outcome (i.e., $H ~or ~T$) of these $9$ tosses turn out to be: $H ~T ~H ~H ~H~ T~ H~ T~ H$ Now, I have $10,000$ other people each toss a similar coin 9 times and I record the outcome of their tosses as well. As a crude measure of correlation between my tosses, I define the...
Suppose we have a Metropolis-Hastings sampler for a target distribution $f$, and we use a proposal density $Q_t$, that may depend on time $t$. By construction, $f$ is still an invariant density of the chain, at every time step (*). However, the chain is not a Markov chain anymore, at least not a time homogeneous one. ...
I've noticed that many pattern predictors initially use the solution of "always pick the most common thing" and sometimes struggle to ever get out of local holes like that for a while. A simple example is text: at the character level "e" is very very common while at the word level words like "the" and "a" are common. M...
Suppose I have a dataset with dependent variable y, and several (round 50) features (or independent variables) x_s, and I decide (/am required) to use linear regression (ols or glm, with or without regularization). Usually I will look at the distribution of x_s and y, and transform them (such as using log) if necessary...
I have a dataset of about 9k rows and 60 features (columns). I have a binary status column (1 - dead, 0 - alive) and a lifetime column in days which is right censored. I am currently using the cox-PH model on this data and getting a probability score for each of my rows. However my ultimate goal is to predict the expec...
We want to verify if the means of the 3 samples are equal. When we test the homogeneity through Bartlett test we get that the hypothesis is rejected. Can we apply ANOVA test? (we applied ANOVA test and we get that the hypothesis is rejected).How can we interpret this?
I am using $AR(p)$ model to make one-step foreast for M1 returns EURUSD. Does not matter if I use $p=2$ or $p=100$. Always simple forecast that $\hat r_{t+1} = 0$ gives lower Mean Squared Error than my AR model. Where is the problem? Learning window size (I checked 500, 5000, 10000) or just this that M1 data has lot of...
For a mixture of experts model, is each expert trained individually, or are they trained with respect to the overall loss? It seems each would be trained individually, since its not a requirement that each expert is a neural network.
I want to construct an ML algorithm that replace the classic A/B testing, actually a predictive model that replace the A/B testing with very high accuracy, I have about 10.000 rows of emails subject lines with their open rate. My goal is to build an algorithm that takes 2 subject lines of emails as input and returns th...
Suppose we have algorithms $A_k$ and $B_k$, $1\leq k\leq n$, and $\alpha = 0.05$. Friedman test for the algorithms $A_k$ shows that the null hypothesis that all $A_k$s perform equally well, can be rejected. Suppose $p_A = 10^{-5}\ll\alpha$. Friedman test for the algorithms $B_k$ shows that the null hypothesis that all ...
What does a p-value of 0 in the Ljung-Box statistic imply? When I use the multivariate time series and fit a VARMA model, the Ljung-Box statistic (applied to residuals) gives values larger than 0.05 for all lags but the first two which are 1. On the contrary, when I use difference series, I get 0's for all the lags b...
I would like to know what's the difference between the standardized residuals and the adjusted standardized residuals in cross-tabs cell display in SPSS? The following definitions are the ones that the SPSS gives: Standardized. The residual divided by an estimate of its standard deviation. Standardized residuals, which...
Is the delta method valid also for non-normal variables? Claim: Let $\sqrt{n}(\hat{X}_n-\theta) \xrightarrow{d} \hat{f} $. With $\hat f$ having a finite distribution. Then for every $g$ such that $g'(\theta)$ is nonzero we have: $\sqrt{n}(g(\hat{X}_n)-g(\theta)) \xrightarrow{d} g'(\theta)\hat{f} $. It seems to me tha...
Consider a statistical hypothesis test of size level $0<\alpha<1$ for testing a null hypothesis $H_0:\theta \in \Theta_0 \subset \Theta$ against an alternative hypothesis $H_1:\theta \in \Theta_1=\Theta - \Theta_0$. I know that the test is considered "unbiased" if its power function $\beta$ satisfies the condition: $$...
I've read that Random Trees do not require cross validation as it's implicitly integrated into the forest growing algorithm. I'm using Scikit's ExtraTreesRegressor on about 15K rows and 300 columns, split into 85% training data and 15% test data. The test results I obtain are quite satisfying but validation on training...
Suppose $X$ and $Y$ are random variables such that $E(X+Y)=E(X-Y)=0$ and $Var(X+Y)=3$ and $Var(X-Y)=1$ then how to show that $E(|X+Y|)\leq \sqrt3$ Guidelines asap would help me thanks.
I have done a fractional design 2^(4-1). I did the ANOVA analysis to determinate factor and interaction effects and contributions an so on and i got the which factors and interactions are affecting my output Then I did a multiple lineal regresson using design parameters (-1 and 1) and the measured ouput (Excel): My in...
According to the material I have in hand for Bayesian Econometrics, we define the pdf of a Gamma-2 distributed random variable $Z$ with parameter $\mu > 0$ and degrees of freedom $\nu > 0 $, that is, $Z \sim G2(\mu,\nu)$ is given by $p(z|\mu,\nu)=c^{-1}z^{\frac{\nu-2}{2}}\exp(\frac{-z\mu}{2})$ where $c = (\frac{2}{\mu}...
When I run following commands: set.seed(1) y <- 1:500 set.seed(1) x1 <- sample(c(0,1),500, replace = T, prob = c(.8,.2)) set.seed(1) x2 <- rnorm(500, mean = 5, sd = 3) set.seed(1) x3 <- sample(c(1:100), size = 500, replace = T) set.seed(1) df <- data.frame(y, x1, x2, x3) t.test(y ~ x1, data = df) fit1 <- lm(y ~ x1 + x2...
Suppose I want to compare how different categories of deprivation or education differs between two groups. Deprivation and education are obviously ordinal variables, in this hypothetical example let's say there are 10 levels (deciles) for deprivation, and 5 levels for highest education (primary, secondary, apprenticesh...
I have a list of empirical measurements describing the rents of apartments grouped by the apartment's size. I.e there are five categories, apartments with 2.5, 3.5, 4.5, 5.5, 6.5 rooms. For each of these categories I have all four quartiles and median for the rents. In my country the measurement of apartments is a bit...
I have a sample of a stochastic process (blue) for which I have developed point estimates for each time step (red). I have then proceeded to bootstrap 95% confidence intervals for the point estimates (black), which is shown in the figure. Now as you can see, the CI doesn't always include the true value of the process. ...
I have 2 years of daily data of demand of some product. I can observe daily as well as yearly seasonality. I did run decompose method(frequency = 365) to separate data into trend, seasonal and random components. I am interested in getting random data but it gives almost constant random component. Then I did use TBATS ...
I have 3 classifier models namely Logistic Regression, Linear-SVM, Decision Trees as an ensemble technique. I am using majority voting as the classifier combination method for prediction. But when I try to calculate area under ROC curve in R, the function roc needs response and predicted probabilities(score). The predi...
My model is a 2-level repeated within-subject factor (Repeated), a between-subject factor (Condition) and a covariate (Difference). When I ran a Bayesian RM ANCOVA in JASP all seems to make sense, except for that there was strong evidence against the interaction between Difference (continuous) and Repeated (categorica...
I am using Cox regression to calculate the hazard ratio between two treatment groups, in which (as usual) age is one of the confounding variables. The effect of age is strong and markedly nonlinear. Using a single coefficient for age is therefore not appropriate. One solution is to use age group as a stratification ...
I have implemented Stacked Autoencoder in tensorflow and I was thinking of implementing Deep Belief Networks using Stacked RBM's. I had started reading about DBN's from various websites and through books as well. Though they are structurally similar but its how they work is different. I had examined various codes and ...
this is my first time asking a question so please be gentle. I have never taken a course in survival analysis, but at work I am being tasked with fitting a survival model anyway. So I dove into a textbook from our library and started reading about it. I found that, after messing with hazard functions and the like, su...
I ran an oneway ANOVA with 9 steps. In the options I clickt the LSD post-hoc test. In Andy Fields Statistics Book there is a hint that LSD requires the overall ANOVA to be sig. But it doesn't tell what I should do if I checked the box for LSD and SPSS gives me that as well in my output. And now there are some sig diffe...
Many people claim to use ReLU to solve vanishing gradient problem, but wouldn't dying ReLU be a more serious problem? And someone also claims that ELU performs better, but wouldn't ELU also suffer from vanishing gradient? PReLU seems to avoid the problem, but it is not very popular. What's the catch?
I am fairly new to the topic of Support Vector Machines, and despite my readings, I still encounter difficulties in understanding the following: why do some people address the need to normalize data between -1 and 1, for instance, as useful to improve SVM prediction accuracy while others prefer to standardize data to z...
First, I am sorry I have poor knowledge of math and statistics (but willing to learn). So it could contain non-sense and I would be glad to precise my thought. Here is the thing; I will have elements that will have ranks (let’s say it’s percentage) for all criteria. As input, I will have questions to determinate all ra...
I am having a hard time thinking and finding prior reasearch about how to include higher level features in neural networks. Here is a couple silly example of what I mean... Let's say I am building a convolutional neural network to classify if an image has a boat in it or not. How would I include, non pixel level, stati...
In particular, for a Skellam distribution obtained by substracting two iid Poisson Processes. Thank you!
I am a newbie to ML. I was reading about neural networks and was confused about the learning part of the network. Say there are some classes of images $c_1$ to $c_{k}$ and a neural network is trying to learn to classify a given image into these classes. Further assume that it achieved a very good accuracy(99.999%, what...
Based on what I have learned (and also this article: https://en.wikipedia.org/wiki/False_discovery_rate as well as the original 1995 paper), BH procedure requires specifies a FDR-value threshold. However, I have seen reported raw "adjusted pvalues" that simply adjust pvalues using BH, without specifying the procedure a...
I'm trying to run a multivariate multiple regression in R, i.e. including multiple predictors and multiple outcome variables in the same linear regression model. Does anybody know how to pull out the coefficients and p-values for the relationship between each predictor and outcome pair in a multivariate multiple regres...
I want to prove the following: When $n\rightarrow \infty$ and $\alpha >2$, $$\frac{1}{n}\ln\left[2\sum_{i=0}^{n-1}\binom{\alpha n-1}{i}\right]\leq \alpha \ln(\alpha)-(\alpha-1)\ln(\alpha-1)$$ Hint: Use the Stirling approximation I tried the following: \begin{align} \frac{1}{n}\ln\left[2\sum_{i=0}^{n-1}\binom{\al...
How are the implied values and their standard errors calculated here? Thank you in advance. https://i.stack.imgur.com/QMWZE.jpg Edit We have this production function with $\alpha+\beta<1$. $Y=K^{\alpha}H^{\beta}(AL)^{1-\alpha-\beta}$ $Y$ output, $K$ physical capital, $H$ human capital, $A$ technology. There are cross-s...
One of the results of multivariate normal distributions is that if $X\sim MVN_{k}(\mu, \Sigma)$ and the following are partitioned vectors (and matrix): $\mathbf{X}=\begin{bmatrix}\mathbf{\mathbf{X_{(1)}}}\\ \mathbf{X_{(2)}} \end{bmatrix}$ and $\mathbf{\boldsymbol{\mu}}=\begin{bmatrix}\mathbf{\mathbf{\mathbf{\boldsymbol...
I found these expressions for the probability of an outcome $y$ given variables $x$ and parameter $W$. $\theta$ is the logistic function. $p(y \mid x,W) = Bernoulli(y \mid \theta(W^\intercal X) ) )$ adapted from [1] $p(y \mid x,W) = \theta(y W^\intercal X) $ [1] adapted from [2] I presume both are correct. How can int...
I see a lot of implementation of maximum entropy. Can someone explain why it is possible to estimate the parameter based on maximum entropy?
I would like to run a 10-fold cross validation on a number of different feature selection tools. For some tools, you can specify k-fold in the Python module (i.e., LassoLarsCV(cv=10)), but others it is not clear how to implement the cross-validation. Let's assume, I divided my data into 10 random splits and run the fea...
I am struggling to understand zero inflated distributions. What are they? What's the point? If I have data with many zeroes, then I could fit a logistic regression first calculate the probability of zeroes, and then I could remove all the zeroes, and then fit a regular regression using my choice of distribution (poisso...
What kind of statistical test would I run to find the linear effect of time within sessions for the experimental group (condition=train) in a study that has ten time points (run1-run10) per subject and a DV of interest (reaction time) collected at each time point? To make the question more concrete, here is an example...
I'm trying to understand the explanation of how multinomial logistic regression works from the point of view of a set of independent binary regressions. The wikipedia page seems to provide a fairly good explanation. However, I'm stuck on an algebra step that I can't seem to get. Namely, how do we go from 1-sum product...
I am doing my undergraduate thesis, and I wonder if I need to do the Cronbach's alpha from my data set, or if I should use the Cronbach's alpha from the commercial questionnaire I will use for this paper. What is the standard way to approach this?
I am trying to understand gradient descent algorithm by plotting the error vs value of parameters in the function. What would be an example of a simple function of the form y = f(x) with just just one input variable x and two parameters w1 and w2 such that it has a non-convex(has multiple minima) loss function ? What i...
After I run cv.glmnet for alpha=0 I want to plot it. I understand most of the plot but I do not understand what do the two dashed gray lines surrounding the red MSE dots(top and bottom) mean in the plot. Does the distance between the two lines mean anything? Here is the plot:
I am about to complete my master's degree in Statistics at a very well-respected university and one which has a top 5 statistics department in the U.S. (all I have left to do is defend my thesis). I also have a BS Statistics from a top U.S. University as well. Even though I'd like to, I'm doubtful I'll go on to compl...
I want to estimate parameters of different versions of GARCH models with different distributional assumptions using maximum likelihood estimation (MLE). Therefore I want to construct my own functions. For example I will first specify the GARCH model version Then, I will specify the distribution of the error term Fi...
I would like to do some logistic model for predicting match result. I have 450 observations of Cibulkova's matches. Columns: age, height, rank, surface, hand and same for opponent + match result. How should I add age and rank difference into model? I think, it is not good to add just simple difference: rankME-rankOPP...
I have reviewed many literature, and extracted their data. I wanted to get the average of the values of each property. Say, I have 50 journal articles which reported the metal composition (as % composition) (of Gold, Copper and Lead) of e-wastes. How do I calculate the average % composition of Gold (or Copper or Lea...
I ran an Augmented Dicket-Fuller test to see if there was a unit root present in my time series. I would know like to show that the residuals from the test regression are serially uncorrelated. In the output there is the Durbin-Watson statistic - is this value enough to show the uncorrelation? Or is there a better way?...
I understand that multivariate probit models are analogous to SUR models. In the SUR case, there's no efficiency gain by fitting a SUR model over several independent OLS regressions when the model matrix is the same for each of the dependent variables. Is that also true for multivariate probit models, so there's no ben...
I have multiple Bayesian network models, each producing some estimate or inference about a variable $PW_2$, which is given by $P_1(W_2|W_1)$ in one model and $P_2(W_2|W3)$ in the other, but I want just a single distribution over that variable. I need to average them somehow. what is the correct averaging procedure? The...
I have two groups of subjects, both undergoing two experimental conditions, and data are collected at three time points. I am interested in the time*cond and the time*cond*group interactions. When I don't include the group*time interaction, the three-way interaction is significant. However, when the non-interesting gro...
I want to investigate the correlation between two nominal variables. I have executed chi-square and fisher exact test using SPSS. I have also executed Cramer’s V (V=0.444, p=0.000) and phi coefficient (value=0.768, p=0.000) . My interpretation of the results is: The two variables are dependent The relationship is str...
First edition, Prof Harrell's REGRESSION MODELING STRATEGIES, section 8.2, "How many parameters can be estimated?", page 150, quoting "If predicting survival time were of major interest, we could develop a reliable model if no more than about 354/15 = 24 parameters were examined in modeling." QUESTION: Where does the "...
I was reading about backpropagation, which in my case works like this: I don't understand why when computing the error term, we are multiplying with the derivative of the activation function: Why isn't this the formula instead?
I have performed a McNemar test for paired binomial variables in SPSS to see if the success rate(score 1) differs between the two conditions (the two variables: the before and after treatment variables). When I run the McNemar test using the cross-tabs function in SPSS it does not report a test-value, only the Exact Si...
I'm trying to think of how to forecast unemployment using an autoregressive technique. Obviously the persistence is higher in historical data for unemployment than it is in changes in unemployment. (I am looking to predict just 1 quarter into the future.) However I'm still not sure what would be a forecasting variable....
I've been scouring and asking on forums (such as this) and the web for answers as I'm trying to test the strength of the relationship between two ordinal variables from my questionnaire. I found after cross-tabing them, that there are some cells with zero values, which would cause them to fail assumptions for the tests...
In "Introduction to statistical learning wit R", there's a simple linear regression fit on a 'TV' feature where the target class is the 'Sales'. Beta 0 is 7.03 and Beta 1 is 0.0475 Now we want to predict how much sales will increase when 1000 dollars is spent on TV advertising. I naturally thought that this would 1000 ...
I have a linear mixed model for predicting speed of a street crossing by a pedestrian with the factors VS (vehicle speed), GAP (selected time gap size for crossing), the interaction factors VSxGAP and a random intercept. How can I interpret parameter estimates for the interaction effects? I only have a random effect o...
I have trouble with interpreting the output of a general linear model, which I have fitted to some data. Here are my data: Gall Site healthy unhealthy 1 absent Site1 1750 35 2 absent Site2 1642 146 3 present Site1 1146 23 4 present Site2 333 30 I have made a barplot to ...