instruction stringlengths 9 38.7k |
|---|
Suppose I have two unfair coins A and B. The probability of A landing on heads is 0.6 and the probability of B landing on heads is 0.5. Suppose now that one coin is picked at random (with a 0.5 probability) and flipped 10 times, giving the result HHHHTHHHHH. What is the probability that coin A was used?
I am most inter... |
$Y_i = \beta_0 + \beta_1 X_i + u_i, i = 1,2,\ldots,N$. Model is heteroskedastic.
I am using an iterative version of weighted least squares, in which I iteratively perform weighted regression, then fit the resulting residuals using some nonparametric approach, and then get back to weighted regression and so on.
Assumin... |
I'm evaluating if the species-area relationship get improved, using Log (SR) and Log (Area) instead of the original data?
In this case, after log-transformation the p-value return non-significant for species-area relationships.
Which do you think is the reason behind this?
This the plot:
|
I have some highly unbalanced panel data set for which I want to construct a predictive model. As the response variable consists of count data I chose to use a Negative Binomial regression model.
Due to possible multiple number of observations per individual over time I would expect the observations per individual to ... |
Before performing word association, we create a term document matrix after removing punctuations, capitals, etc. How does the association algorithm work? Since we have removed the markers to identify sentences and breaks, how would we identify if two words are appearing in the same sentence? Or does the algorithm only ... |
I am given a dataset of EEG Signal of a rat and a system of classes proposed by neuroscientists. The dataset is unprocessed.
I dont know which approach is appropiate. Beeing inspired by speech processing, i have thought of using markov models paired with gaussian mixtures. An advice would be much appreciated
|
I'm creating a distance metric that is composed out of multiple pairwise feature distances.
The distance metric will be used in a clustering algorithm for a computer security problem, more specifically the clustering algorithm will group together related "malicious instances". Our hypothesis is that malicious instances... |
I have two groups of people, N=211 in group 1, N= 310 in group 2.
I would like to combine these groups because they share a certain characteristic that I am interested in. The groups are used in a multiple regression, so I only have the regression coefficients and CI's. They are:
group 1: -.05 (-.21 to .11)
group 2: -.... |
I'm conducting a study in which I'm testing interrater agreement on a new radiologic technique to the pathological evaluation (gold standard).
I've got 58 patients and 15 raters. Raters have been asked to evaluate the degree of cancer invasion ('Deep' vs. 'Superficial') and have also reported how certain they are in th... |
I tried to play with libsvm and 3D descriptors in order to perform object recognition. So far I have 7 categories of objects and for each category I have its number of objects (and its pourcentage) :
Category 1. 492 (14%)
Category 2. 574 (16%)
Category 3. 738 (21%)
Category4. 164 (5%)
Category5. 369 (10%)
Category6. 12... |
I want to evaluate a model that forecasts the amount of payments a company will receive from its customers on a certain day. I want to compare last years forecasts with last years actual payments by evaluating the model's accuracy.
The trick is I'd like to punish the model more for overshooting (predicting over the ac... |
I am trying to conduct the k-means cluster analysis.
Because some variables are highly related, I conducted PCA to reduce variables.
But some variable shows low communalities and the KMO is lower than 0.5.
I would like to conduct PCA only with highly related variables,
and conduct cluster analysis using both, (a subse... |
I am working on a time series model with exogenous regressors. I am using the ARIMA function in R which resulted in a ARIMA(1,0,2) model. I also need to forecast for the next 10 months using this model. I am using the R forecast package predict function for the same:
Forecast<- predict(model, newxreg = newxreg)
Since t... |
Basically the above. To clarify, I'm referring to feedforward networks (would recurrent networks technically have infinite depth). A reference would be appreciated, as I'm going to use this for sixth form work.
|
Say I want to estimate the difference between the means of two (repeated measures) samples, and the statistical significance of this difference. I have in mind the rule of thumb that an estimate is significantly different from 0 if its 95% CI does not include 0.
First, am I correct that, with this rule, one does not a... |
I'm currently trying to propagate the errors of two values:
$A=143^{+28.6}_{-26.6}$ , $B=19^{+10.9}_{-8.7}$ $\rightarrow$ $B/A = 0.133^{+?}_{-?}$
Both values A and B (#counts) are derived from a log-likelihood model fit on poisson data. The asymmetrical errors are due to the low number of events, which means that the ... |
I work in the medical field. I want to calculate a 10 yr risk of cardiovascular disease (CVD) based on a published forumla. That is to say to be able to calculate the same as this page.
But I can't figure out how to implement the published algorithm. Here is the source article.
And here is a supplemental tab that con... |
Let's assume that we have $\ y_i = x_i$$\beta$+$\ ε_i$
I would argue that the estimator is still unbiased and consistent even if we have $\ E[εi|xj] \ne 0 $ since it does not violate the exogeneity assumption.
Would that be sufficient as an explanation?
|
I have a data set in which I want to combine 4 variables into one scale. The variables are open ended questions (e.g., How much would you be willing to pay for ...) and thus non-normally distributed. Usually, I would calculate z-scores and average across the variables to receive a single scale score. But does that also... |
I have some data from mass spectrometry of some plant samples (11 morphospecies and 4 treatments for each). Each species/treatment yields a graphic like the one below.
Each column in the graphic indicates how much of that chemical substance is present in the sample. All the data was assembled in a single table, as sho... |
Can I say that the fact that a sequence of random variables $X_n $ converges in distribution to a random variable $\ X $ means that the probability that the realizations of $X_n $ are arbitrarily close to the realizations of $X $ approaches 1 as $n \to \infty$ ?
|
The canonical link for the binomial is the logit. The linear predictor can be anything so it is usable for the probability after the logit transform is used. The case is analogous for the Poisson distribution. But the canonical link for the exponential distribution is the inverse function, so the inverse of the mean is... |
Many techniques are for two-class classification. What is the recommended techniques to over- or under-sample multi-class datasets?
|
I'm currently working on a logistic regression model and I wanted to pinpoint the VIF for every predictor inside the model. I've found that packages 'car' and 'HH' have the same vif function, so I proceeded computing it using one of the two functions above.
The glm call follows:
logitA1 <- glm(formula = Successful ~ Co... |
I am currently working on my PhD thesis and was wondering how I can identify the optimal number of lags for the Newey West covariance matrix. So far, my code is
library(sandwich)
library(lmtest)
library(dynlm)
Regression <- dynlm(y ~ x)
coeftest(Regression, vcov = NeweyWest(Regression, lag = NULL))
Since I have to... |
I'm trying to implement a Hidden Markov Model to detect past stockouts in sales
(a stockout is when the retailer runs out of a product). It's probably better to say a Semi-Hidden Markov Model, let me explain it.
Let's say I have a year of hourly data about sales of a product in a retailer.
VARIABLES IN THE MODEL:
... |
I'm looking for confirmation on my understanding of a 'statistically significant' effect.
For example, let's say that eating apples has a statistically significant positive effect on health (given that you can quantify health in some way). This does not mean that everyone will benefit from eating apples. Rather, it mea... |
I am comparing scores of two student groups using t-test (in scikit-learn). Each group has different number of students. Since there are considerable numbers of 0 scores in my data, the standard deviation gets even higher than the mean for the groups. So, I wonder, in this case, if it is still acceptable to keep the 0 ... |
I have a small data set (140 observations) which is quite unbalanced (5% of 1's) with an independent binary variable Y and a set of correlated covariates X1,…,Xp. My primary goal is: let’s suppose we have covariate X1, which yields an OR=2.0, and X3, which yields OR 1.6. My goal is to test whether X1+X3 risk sig. diff... |
I've created a random forest model which predicts if a team will win a match (assuming no draws), and returns a probability of that occurring.
The features that are trained on include various statistics, such as a team's average win rate over the last 4 years coming into the match, the name of the opposition, and the f... |
I have a dataset of the times that events happen. I noticed some clustering of events but I know that even assuming a random uniform distribution some amount clustering will inevitably occur. How do I test whether the clustering I see is random or non-random?
Edit:
Example data:
11 Jan 2017 18:45:37
11 Jan 2017 19:05:5... |
CO2 and global temp: Can you model relation between two measures if one is monotonic?
In 1998 the "hockey stick" paper was published in Nature (Mann Bradley Hughes Nature April 1998 v392 pp 779-787). This was supposedly mainly Mann;s dissertation work, so I will say "Mann."
Mann basically took a bunch of predictors and... |
I have some demographic transition matrices that I want to compare using a log linear analysis, but am having some trouble with model construction in R. I have read through several tutorials on log-linear, but they don't seem to cover my specific case.
I have two transition matrices, where the column represents state ... |
Assume we have an estimator $\bar{\theta}$ for a parameter $\theta$. The bias of the estimator is the difference between the true value of the estimator, and its expected value:
$$\operatorname{Bias}(\bar{\theta}) = \operatorname{E}(\bar{\theta} - \theta)$$
If $\operatorname{Bias}(\bar{\theta})= 0$, then $\bar{\theta}... |
I have a two-part data set comprised of treated and untreated values. When plotted on an X,Y axis, one expects the data two fall into two distinct lines with no expectation that either the slopes or the intercepts will be the same.
I am modeling this with a categorical/indicator value as follows, in order to capture ... |
The necessary and sufficient conditions for learning to occur in the task of binary classification are among the fundamental results in learning theory.
In the sources I'm familiar with, this theorem is stated for hypothesis class of functions from the instance domain $\mathcal X$ to $\{0,1\}$, w.r.t. the 0-1 loss (see... |
I want to calculate the average path length between any two nodes in a directed graph that contains cycles.
The reason this is not trivial is because there is an infinitive number of paths between most nodes due to the cycles, even though longer paths become increasingly unlikely.
One "empirical" solution is to run a... |
I have a model that is giving me the below autocorrelation plot of residuals. I'm not sure how to interpret it since it seems somewhat in the middle.
The correlation drops quickly, but it doesn't look much like the chart I found in this article. Since it seems to be in the middle should I do another test on it? O... |
I have a discrete distribution on $[0,\infty)$ that I can write down the algebraic expression for, but I can't compute it numerically for my desired parameters - basically, even a few probabilities would require too much computer time and memory, so it's computationally infeasible. It's really unfortunate because being... |
Consider the following data sets:
Set 1:
X | Y
---+---
1 | 1
2 | 2
5 | 5
Set 2:
X | Y
---+---
1 | 1
2 | 4
5 | 13
For both of these data sets, the Pearson correlation coefficient is 1.0 - they are in perfect linear relationship with each other. However, for the first set, the "magnitude" (excuse my lack of p... |
I have access to the percentages of referring to "X" for 10 different ethnic groups. Let's say, A1 to A10 as shown below
A1: 9.22
A2: 11.40
A3: 12.68
A4: 17.89
A5: 19.53
A6: 19.84
A7: 29.34
A8: 30.77
A9: 32.56
A10:41.82
As clearly seen here there is a huge difference between A1 and A10 ethnic group in referring to "X".... |
I have data from a process that converges over time, although the time to converge is variable and the convergence process is quite non-linear. Moreover, the convergence can be to saturation either approaching 100% or 0%. I've drawn an idealised sketch to exemplify:
It is fairly clear to the eye which of high/low en... |
Dr Frank Harrell mentioned in his book and BIOS 330 course that
Accuracy score used to drive model building should be a continuous score that utilizes all the information in the data (e.g. Brier score, log likelihood, deviance, mean square error)
I am wondering:
In what sense are these scores "continuous"? Is it con... |
I have a dataset with three variables: "Category", "X", and "Y". "Category" can be one of 5 different values: say A, B, C, D, E.
I know that X and Y are correlated (say their correlation coefficient is 0.4).
I can compute mean(X), mean(Y) for the entire data set, as well as mean(X | Category = A), mean(X | Category = B... |
As you know, the random forest algorithm and k-fold cross validation (except the case of Leave One Out) involve randomness. Thus a typical 10-fold CV in one run results in a certain variable importance values and a different run (with a different seed value, thus different splits in data) will result in different varia... |
The variance of a t-distribution is given by df/(df-2), hence the t-distribution with 1 and 2 degrees of freedom have no defined variance. Yet these distributions do exist and can be drawn, so one would say that their variances can be calculated. I hope somebody can explain this without using too much mathematics, as m... |
The Problem
Let $U$ and $R$ be independent random variables where $U\sim \text{Uniform}(0,1)$ and $R$ has pdf $f_R(r)=r e^{-r^2/2}$ on $(0,\infty)$. Define the random variables
\begin{align}
X &= a + b \cos (2\pi\, U), \\
Y &= c + d \sin (2\pi \, U).
\end{align}
where $b,d \ne 0$.
Find the marginal distributions of $X$... |
How do I estimate confidence intervals / credible region for parameters of Beta Binomial distribution? Specifically: from the data with variable number of trial, e.g. there are several experiments with different number of trials and success counts in each. Also for parametrization I'd like to use the proportion and di... |
I am doing a decision-making project to determine political preferences by answering questions about every candidate's program and then scoring these questions by themes (ecology, economy) for each candidate with the difference between their scores and the score of the voter. Then we apply [Electre ranking method][1] (... |
Here is the documentation for statsmodel's ARMA fit function. My issue is that it does not specify the form of the model it is fitting, i.e. is it fitting $a(L)y_t = b(L)\epsilon_t$ or is it fitting the regression form
It's a bit confusing because statsmodel's ARMA generation assumes the form $a(L)y_t = b(L)\epsilon_t... |
Fundamentally I want to know:
Do employees who promote a product, sell more of that product?
The problem is that employees who promote the product is arbitrarily defined:
I sample customers to determine if the employee promoted the product
Each employee has x samples (x can be different for each employee)
A sample can... |
My input variables have different dimensions. Some variables are decimal while some are hundreds. Is it essential to center (subtract mean) or scale (divide by standard deviation) these input variables in order to make the data dimensionless when using random forest?
|
When using logistic regression for predictive modelling, the choice between 'standard' logistic regression vs ridge vs LASSO versions of logistic regression seems relatively straightforward - just pick the method that gives the best predictive performance on test data (unless there are additional considerations about w... |
I am trying to fit a nonlinear mixed effects model, and here is my train of thought. So my model (I'm thinking) should be:
$Y_{ij} = f(\theta_i, t_{ij}) + \epsilon_{ij}$ where $f(\theta_i, t_{ij})$ is some nonlinear function.
In my data set, I have
Time: Number of days after disease is diagnosed (this varies from sub... |
I would like to study the performance of the regression model (parametric and non-parametric). For that matter, i need to simulate the data that have the same skewness and kurtosis of the residuals but in different number of observations (sample size, n). How can i do that in R?
For example, let i need to simulate 3 s... |
In Applied Linear Statistical Models (Kutner et al) an example on weighted least squares is given.
Dataset: Age versus Diastolic Blood pressure
Regressing DBP on age results in the following model
$$\hat Y = 56.157 + 0.58003 X$$
But a residual plots show the megaphone-alike shape which would imply heteroscedacity.
... |
Let's say you have a lottery, in which you select 4 numbers between 1 and 36. The person running the lottery draws 4 numbers as well. If you have any numbers that match (1, 2, 3, or 4) you win a prize. Of course, each of these has a different probability of winning––it's much more likely that you'll have 1 number that ... |
I have a question about the last step of the proof of conditional probability of the restricted boltzman machine in the deeplearningbook.org
Below are the derivation from the book:
Shouldn't equation 20.15 be
$P(h|v) = \displaystyle\prod_{j=1}^{nh}\sigma((2h_j-1)\times(c_i+\textbf{W}_{:,j}^\intercal \textbf{v}))$... |
experts! Maybe, you know how to calculate confidence interval for xgboost? Classic formula with t-distribution can't help, because my data aren't normally distributed. Or doesn't matter?
If you'll suggest some literature, it will be very useful, but approaches in R and Python (in context of library xgb) good too.
Perha... |
A biased estimator is one for which the difference of the expected value of the estimator and the true value of a population parameter does not equal zero. If we gather a bunch of samples' averages (countably many) and take the average of that collection of samples, the mean should equal the true value of the parameter... |
I am currently studying VC theory and have question to better understand the main theorems inside. I hope that someone who deeply understands it might be willing to give me some intuition on how to use it. Here is the theorem:
Let $Z$ be a class of sets and z are sets from that class ($z \in Z$) . Then:
$$P(\underset{z... |
This is basically how Robbins-Monro is presented in chapter 2.3 of Bishop's PRML book (from his slides):
In the general update equation,
$$ \theta^{(N)} = \theta^{(N-1)} - \alpha_{N-1}z(θ^{(N-1)}) $$
$z(θ^{(N)})$ is an observed value of $z$ when $θ$ takes the value
$θ^{(N)}$.
What got me confused is the introduction... |
Consider two events, A and B, on the same sample space. Prove that either $P(A|B) \leq P(A) \leq P(A|B^{c})$ or $P(A|B) \geq P(A) \geq P(A|B^{c})$.
Looking at the question, I believe I need to use the definition of conditional probability. But even then, I'm not exactly sure where to go with it. How should I start this... |
Say, I have following data from different countries, with following variables:
for_xs - should people, not being from that country, have access to publicly funded health care? (yes/no, my dependent variable)
health_expend - expenditure in each country for health care
forgo - do people not use health services because t... |
I am new to this material. I read this from a certain journal article.
"The shaded region shows the 95% confidence intervals estimated from 1000 bootstrapped replications of the data."
My question is: What is being done when you do 'bootstrapped replications' of the data? Also, what is 'bootstrapping' in layman's term... |
I have a 2-class classification problem in hand. I have extracted a set of 3 features for each training example .. I am planning to use a very simple CNN to learn the weights. My model looks like
I am planning to use tensorflow for implementing this CNN in python. The official tutorial https://www.tensorflow.org/tutori... |
My workflow is to first split the whole dataset into a train and test set.
Then I apply cross validation on the training set.
When using cross validation it is important to do standarization repetedly on each training set and then apply the same parameters on the validation part.
My question is how to standardize the o... |
I am experimenting with different techniques to deal with imbalanced classes in a classification problem. I am comparing upsampling the minority class with downsampling the majority class. Furthermore I am doing some experiments with ROSE and SMOTE.
After training and applying Platt's calibration I noticed that the ran... |
I have linear structures transformed into points and spatially distributed like this:
I want to perform a kernel density so that zones with lots of structures present high density. The problem is that I have to define a distance (bandwidth) for the kernel when calculating the density (on ArcGIS).
For that reason, I wa... |
$$p(x)=e^{-2 |x|}$$ with $x \in [-\infty, +\infty].$
I've calculated the characteristic function as $E[e^{ikx}]=\frac{1}{ik+2}-\frac{1}{ik-2}=\frac{4}{k^2+4}$. Now i'd like the moments.. so I suppose I should manipulate this expression in order to reduce it to a sum of infinite moments, but I can't!
Could you help me?
|
I'm trying to predict the daily positivity or negativity of stock market value through Twitter.
I researched a lot about this topic and I found this article to start.
Basically, what I've done is get from yahoo finance the date relative to Down Jones and calculate if the day was positive or negative.
For the same date,... |
I am a scientist fitting some binomial data, and I have been using maximum likelihood.
My model gives a probability for each datum, $L = P(y|\theta)$. The model likelihood function is not a simple logistic model, but rather it estimates $P$ over a range of hyperparameters, and returns the marginal.
I was very surpris... |
I am trying to understand how to set up simulations to test the False Positive and False Negative Rates (and build a ROC curve) under a Bayesian model.
The results of the analyses are support for one Bayesian model over all others (non-exclusive) models considered, and the results are posterior probabilities. So for e... |
I have seen some people that granger test non-stationary time series; is in general allowed or does it apply only to specific cases?
|
I'm working with a dataset of bank loans, trying to predict which loans are going to default based on some pre-loan-subscription features (for instance, what's the credit grade of the borrower, or the amount of the loan, or the borrower's annual income...).
There are roughly 800.000 data points (one for each loan) and ... |
This is more of a theory question, consider:
$$P(w_1|D)=\int P(w_1|S)P(S|D)d(S)$$
which we approximate via Gibbs sampling $S$ (assume the initial state of the Gibbs sampler is denoted by $M_0$), instead of computing the integral directly. Now,
assume for a particular $w$, i.e. $w_1$, we have $N$ samples for $S$. What... |
A growing amount of cluster algorithms have been developed for using large datasets such as CURE or BIRCH or filtering methods for common k-means. What is the advantage of using such an algorithm instead of talking a randomized sample from a large dataset for training purposes and then predict the cluster membership of... |
I'm just new to regression. I would like to know if I'm having a linear model. Does unbiasedness breakdown if i fail to account for heteroskedasticity?
|
I have a classification problem where I have tested four different algorithms for binary classification. I have performed a 10-fold cross-validation on my training set and generated ROC curves and performance estimates (accuracy, AUC, etc).
I would now like to compare the classifiers at the level of the predictions to ... |
Recently I have conducted a microbiological experiment on carriage pattern of bacteria in a certain group of professional people over a week. It would be very helpful for me if somebody suggest which statistical analysis and graphical representation are appropriate for this type of experiment.
Study description: I have... |
I'm trying to use the Holt-Winters model included with the R package 'forecast' to forecast a product's sales revenues, which includes seasonality.
In the past the product's price as changed, and with it the revenues generated - events that I believe are referred to as 'explainable variation'.
My question is - how do I... |
I'm trying to get the logic behind confidence intervals straight in my head so I can effectively explain it. So far I have the following description:
The sample mean I calculate will not match up exactly with the population mean. This is because of sampling error. However, I do have an idea of how variable our sample ... |
I am trying to claim that our sample size is large enough to justify a global difference between Group A and Group B using brain activity data at a given p of < 0.001 (uncorrected).
For each subject I have beta parameter estimates from an individual General Linear Model analysis for all brain areas during a specific t... |
The bias-variance decomposition usually applies to regression data. We would like to obtain similar decomposition for classification, when the prediction is given as a probability distribution over $C$ classes.
Let $P = [P_1, . . . , P_C ]$ be the ground truth class distribution associated to a particular input patter... |
The probability mass function of a random variable $X$ is 0 except at the point $X=0,1$ and $2$. at these points it has $P(0)= 3C^2$; $P(1) = 4C-10C^2$; $P(2) = 5C-1$ for values of $C>0$.
i) Determine the value of $C$,
ii) compute the values of $P(X<2)$ and $P (1<X ≤ 2)$.
iii) Suppose that the random variable $X$ as... |
As I understand, finding the mode is equivalent to minimising the 0-1 expected loss. Likewise the median is equivalent to minimising the expected loss of an absolute value loss function and the mean to a square loss function. So what about fourth power loss functions and other higher powers which are even? Are they eve... |
if I generate data for a linear model like this:
N <- 1000
sd <- 1
b0 <- -0.5
b1 <- 0.4
x <- seq(1, 10, length.out = N)
y <- rnorm(N, mean = b0 + x * b1)
I can nicely plot the linear relationship
plot(x, y)
How do I have to transfer the data to plot something like this for a negative binomial model.
y2 <- rnbinom(N,... |
I have a set of data that is not given as $ \boldsymbol{x} = x_1, \dots, x_n,$ but as pairs $\boldsymbol{x}_{interval} = (x^{(start)}_1, x^{(end)}_1), \dots, (x^{(start)}_n, x^{(end)}_n). $ For each pair $(x^{(start)}_i, x^{(end)}_i),$ the true $x_i$ lies in the interval $(x^{(start)}_i, x^{(end)}_i), $ but it is not k... |
I'm trying to correct for measurement error in a regression model with multiple variables. Specifically, I'm trying to apply the result of http://amstat.tandfonline.com/doi/abs/10.1080/01621459.1978.10480011. A necessary assumption is that the measurement error in different variables must be uncorrelated.
My regressio... |
This question is an extension from an earlier question.
The tensile strength of a synthetic fibre used to make cloth for men’s shirts is of interest to a manufacturer. It is suspected that the strength is affected by the percentage of cotton in the fibre (Table 1). Five levels of cotton percentage are of interest: 15%... |
I am looking for a reference (a citable paper) about repeating the cross-validation to decrease the variance of the results.
|
I have data on hair growth per month (continuous outcome variable) and want to compare two groups of subjects (categorical predictor: high and low intake of a compound) and include confounders into the analysis.
To just compare the two groups, I believe I can use a two-sample t-test or a one-way anova. However, there... |
I know Bayes Theorem in a basic way. If I was given prior and likelihood in the form of probabilities I can fill in the formula. When watching this video the following graph was discussed (2:50):
The light gray curve is the prior, probably something like $\mathcal{N}(55,10)$. How can I calculate the posterior distribu... |
I've got a situation where I have a series of individuals who have two factors describing their health. Factor A has 3 levels while factor B has 4 levels. Biologically, level 1 of factor A appears if and only if factor B is level 1. Therefore, I have data structured like this:
ID Factor A Factor B Score
1 ... |
As far as I can tell it's
aov(Y ~ A*B*E + Error((C/(A*B))*D), data=d)
But I'm not sure and e.g. I can't tell the difference between that and
aov(Y ~ A*B*E + Error((C/(A*B))+D), data=d)
Update: when I run
AnovaModel.1 <- aov(Y ~ A*B*E + Error((C/(A*B))*D), data=d)
Anova(AnovaModel.1,type=3)
or
AnovaModel.1 <- aov(Y ~... |
This is the problem I am trying to solve:
I am looking at user behavior for an online newspaper. I have a behavior period and then I look at the users who bought a subscription within two weeks after the behavior period.
I am trying to find out if the number of distinct categories a user have visited in the behavior pe... |
Hi All!
I am struggling to interpret the results of my Johansen Cointegration test. Could anyone possibly clear my doubt please. I have attached the screenshot. It was found that my model had 2 cointegrating vectors. From all the readings i've done, i understand that the "cointegrating coefficient" represents the lon... |
I understand the general notion of likelihood as "probability to generate the data given parameters" (like here). But people use (log-)likelihood as a measure of "goodness" of a generative model.
But, e.g., let's take a look at Generative Adversarial Networks model. It takes some random noise and deterministically (us... |
I am working with a subset of data from a national data set (BRFSS) that uses complex sampling. I will be building a multiple logistic model to predict physical distress. My unweighted sample size is N=287, with n=47 cases of physical distress and n=240 cases of no physical distress. I have several covariates that I am... |
I am running a two-variable linear regression. Only one variable is measured with error; however, the second variable is interacted with the first, giving rise to correlated measurement errors.
$y = X_1^*\beta_1 + X_1^*X_2\beta_2 + \epsilon$
Suppose the measurement error of $X_1^*$ has mean $0$ and standard deviation $... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.