instruction stringlengths 9 38.7k |
|---|
I'm using several algorithms to predict a binary target. So far I tried Gradient Boosting, Random Forest, Extra Random Trees and adaboost from scikit learn.
All of these algorithms appear to predict probabilities ranging from close to zero to close to 1 with a very similar standard deviation. adaboost is the only one w... |
I have 2 sets of variables that are weakly correlated to each other but highly correlated with third variable. Is there any method to combine these 2 variables to achieve a much more stronger correlation to third variable?
for example:
set a (correlation with b:0.2, correlation with c:0.8)
set b (correlation with a:0.3... |
I'm confused about the ROC curve and confusion matrix. The area under the ROC curve represents the accuracy of the classifier. But the confusion matrix also shows a measure of accuracy. So which method is better for me to find the accuracy of the model?
|
I have been reading up on multiple imputation, and I am interested in the between-imputation variance. However, not in the estimation of the parameters, but in the imputed values themselves.
(1) Suppose $x$ is vector with some missing values. I then perform multiple imputations an infinite amount of times according to ... |
One of my demographic variable is age. Age is measured as continues data not categorical. If I want to test differences between two groups to determine whether there is significant difference between them or not, shall I use independent t-test, or I have to covert it to categorical variable then calculate chi-square.
T... |
I have a set of around 200,000 training instances. Each training instance consists of an attribute called $duration$, a discrete integer type and a time series of floating-point values, in form of a vector of length=$duration$. So if each training instance is to be considered a vector, it is of a length $duration+1$.
... |
I am trying to model growth for data I have regarding downloads of applications. I would like to make a statement, if you "DONT reach X amount of downloads by time T, then your chances of reaching 15 Million users go down by 75%" Is there some sort of analysis we can do for cutoffs? Thanks!
|
I was reading Koller's book of probabilistic graphical models and in section 3.3.2 she discusses what properties should hold for d-separation as a method for determining independence. She tries to motivate that hopefully, separation should be sound and complete. Sound in the sense that, if we have that two nodes $X$ an... |
Let $X_1,X_2,...$ denote iid random variables such that $X_1$ is continuously distributed with density $p(x)$ and distribution function $F(x)$ where $F(0) = 0, F(x) > 0$ for all $x > 0$, and $p(0) > 0$. Let
$\hspace{15mm}Y = n\cdot \min \{X_1,...,X_n\}$.
Then there exists a random variable Y such that:
$\hspace{15mm... |
Root mean square error
residual sum of squares
residual standard error
mean squared error
test error
I thought I used to understand these terms but the more I do statistic problems the more I have gotten myself confused where I second guess myself. I would like some re-assurance & a concrete example
I can find the eq... |
I am trying to construct a formula, which will take student's previous exam results (for ex: SAT) taken at particular dates and predict his future test result.
One X is previous test result 1; another X is date of previous test 1 (can be converted to number of days between this test and the last test for simplicity); ... |
Is it necessary to calculate VAR before Granger causality test so that we can have the lag length to be used in Granger causality test
|
I have read enough threads on QQplots here to understand that a QQplot can be more informative than other normality tests. However, I am inexperienced with interpreting QQplots. I googled a lot; I found a lot of graphs of non-normal QQplots, but no clear rules on how to interpret them, other than what it seems to be co... |
I've been working with the scipy gaussian kde implementation (here), but I don't quite understand the difference between the bandwidth factor and the covariance matrix. I'm using it for a single dimension here, so the covariance matrix only contains a single value. The bandwidth factor is estimated using either Scott's... |
Hey guys I found one or two papers which use ridge regression (for basketball data). I was always told to standardize my variables if I ran a ridge regression, but I was simply told to do this because ridge was scale variant (ridge regression wasn't really part of our course, so our lecturer skimmed through it).
These ... |
I have a little confusion about validity of some predictions I am making using a CRF model I have trained.
The CRF model is trained on some input time-series, and when making predictions, I am passing the entire sequence to be labelled to the model. I have a concern that this is incorrect for the problem, since what I... |
Since PLS-DA is a computational technique which deals with outcomes expressed as a categorical variable (e.g. "Yellow","Brown","Black","Green") I cannot understand how it is possible to calculate Q2 and R2 values. In facts, these values are calculated based on the difference between the real outcome and the outcome pre... |
I want to explain that both the real and imaginary part of a complex variable follow a zero-mean complex Gaussian distribution. How can I write that?
For one variable I'd write
$a \sim \mathcal{N}(0,\sigma^2)$.
But for two? Maybe
$\{a,b\} \sim \mathcal{N}(0,\sigma^2)$?
What's the correct notation?
|
I have 3 sets of data.
A positively labeled dataset.
An unlabeled dataset that has for sure positive (around 75%) and negative data.
An unlabeled dataset that has for sure positive data and maybe negative data.
I'm interested in finding negative observations in this last dataset.
There will be no future new (test) ... |
in jmp 11 on a mac I have data I want to plot nicely in a 2d-diagram. For the datapoints I made a regression to get a function for a smooth curve, now I want to plot the datapoints and the function in one graph.
However in the graphic-creating-window I can only select the appearance for all columns, i.e. either 'dots' ... |
Guimaraes et al. (Rev Econ Stat, 2003, 85/1) describe the conditions under which the results from poisson regression models and conditional logit models are equivalent. I am trying to find out whether this result also holds i) for fixed effects panel data; ii) for negative binomial models; and iii) (for completeness' s... |
I am checking an implementation of Logistic Regression from here.
After I reading that article, it seems the important part is the find the best coefficients to determine the sigmoid function. So I just wonder why this method is called "Logistic Regression". Is it related to the logarithmic function? Maybe I need some ... |
Say we want to build a classifier for a binary classification problem using a discriminative method (e.g. SVM) and be able to impose a prior on the classes.
For example, let's assume that we want to use the prior $\text{Beta}(10,50)$ on the positive class.
How can I estimate the posterior probability of classification ... |
Question
I would like to do a logistic regression where the independent variables are compared to the mean logit, rather than the logit being compared a certain reference group.
Example
The example below results in the logit of am==1 is being compared to carb==1 (the reference group):
glm( am==1 ~ factor(carb), ... |
Let $Y = \max\{0,Y^*\}$, where $Y^*$ follows a continuous distribution. I found in the paper which I am reading that
$$
f_{Y,Y^*}(Y, Y^*) = I(Y = Y^*)f_{Y^*}(Y^*),
$$
where $I(\cdot)$ is an indicator function. I do not know how to derive this expression. If I use the Bayes rule, I get
$$
f_{Y,Y^*}(Y, Y^*) = f_{Y|Y^*}(... |
I am using a MANOVA test to compare nine different dependent variables (from neuropsychological and neuropsychiatric assessment) between three groups. The output shows a significant influence from GROUP on my variables ($p < .001$).
Ofcourse, I am interested in how the three groups influence every dependent variable. ... |
I want to explain the relation between getting a reply and posting in a e-commerce. I want to know how much a reply increases postings.
I know I could do a regression of postings=f(replies) but the issue is that I have most of the postings getting only one reply. The distribution is skewed.
So, I could measure the mea... |
I am trying to interpret the results of some experiments I have run, involving showing participants videos of animated synthesised speech.
I ran a mean opinion score test. I made 36 movies in total. 9 each with the following exaggeration factors: 1(A), 1.1(B), 1.2(C), 1.3(D).
11 participants were shown the movies in a... |
To validate the acoustic performance of a product, we are using hand-engineered features and thresholds. Everytime a new hardware problem arises we have to at least tweak a parameter and at worst add a new feature with its own parameters.
We now have tens of thousands of records, with some labeled, and I'm thinking it ... |
The Mann-Whitney test requires homogeneity of variance if a median difference is suppossed to be statistically significant.
In case homogenity of variance is not met, but the test is significant:
Which aspects of the test can I report?
|
I am trying to understand what does it means to have a (linear) SVM classifier (with soft margins) given the generative model of the data. And I realize I have not seen any paper on it, nor can I extend the theory by myself. At least two problems:
the penalty term $C \sum \xi_i$ will become unbounded. There will be i... |
I have a data set that I wish to analyze using functional data analysis methods. Data consists of repeated measures of some characteristic on a number of inviduals. I have the time of the measurements and these differ between individuals. So far, I see no problem in analyzing this, e.g. by using ready-to-use ${\tt R}$ ... |
The Spearman’s rank correlation coefficient calculated for these observations is 0.826 (p<0.005). Is there something like a "rule of thumb" minimum number of observations?
|
I'm trying to gain a better understanding of how null hypothesis testing works.
I have 3 questions related to the code below:
Am I right in saying the probability of each t value in t_distribution should follow the tables of critical values for t distributions found in statistical text books?
If yes, how using R code... |
We asked a group of subjects to tell us their preferences for a given procedure, of which there were 4 choices. We then provided them with educational material and asked them again of their preference.
I would like to compare the two groups and see if there is a statistically significant difference between the two g... |
I have a pretty large set of binary-labeled data (~20K rows, ~100 columns). Approximately 20% of the data is "positive" and 80% is "negative". In my case every classification error has the same meaning. Is this misbalance big enough in order to take special measures such as differential weighting and/or differential s... |
My estimated dynamic GMM model results are as follows.
$$Y = -0.009 + 0.009PF + 0.015PS - 0.001(PF\times PS)$$
I want to calculate the marginal effect of $PF$ at $PS$ (min, mean, max), which I can express as follows:
marginal effect of $PF = 0.009 - 0.001 PS$.
I can calculate it manually, but it is time-consuming. Is t... |
I am having trouble understanding the output here. In the green table, it seems like SAS is saying "Gender F" and "Gender M" are not significant. However, in the blue table, seems like it's saying that it would make a different if we just exclude the variable Gender. I am a bit confused because these two conclusions s... |
When I wish to compare 2D image histograms I can use methods like Chi-Square and Intersection but what are my options if I wish to compare 3D histograms (e.g, based on R,G,B values)?
Thanks.
|
I'm trying to apply R output to generate a scenario using external data, I'm not sure how exactly to use the coefficients in each from the R output.
I have an ARMAX(1, 1) model
Coefficient of AR1: $A$
Coefficient of MA1: $M$
Intercept = $k$
Coefficient of external regressors: $B_1$, $B_2$
External regressors: $X_1$, $... |
I am trying to work with Gaussian process through GPfit package of R but every time I use GP_fit() of this package, either it gets hanged or throws error which is like this:
Error in chol.default(Sig) :
the leading minor of order 2 is not positive definite.
My input matrix looks like this:
visitLength h... |
I'm attempting a multiple regression model where the predicted variable is runoff ratio - the ratio of watershed discharge to the precipitation input. This should generally be bounded [0,1], however, due to measurement error some values > 1 occur.
Originally, I modeled this with the predicted variable un-transformed, b... |
I want to estimate the log likelihood of the joint distribution of 2 random variables, each follows a mixture of 2 Gaussian distribution. Is there any solution for it?
|
Given we have a binary dependent variable and 100s of features and ~50k observations, is there a generally accepted way to trim the features via some type of machine learning concept? I was trying a Lasso regression to zero out features, but it just showed nothing was significant. I can go through multiple by hand that... |
I'm going to be using a logistic regression model and using SGD to determine the feature weights. Is it OK for me to use a mix of binary and real features, without doing anything like scaling or normalization, and just leave it to SGD to give me a model with weights that will work?
Thanks
|
If $\text{P}(M|D)$ is posterior, $a$ is the proportionality constant, $\text{P}(M)$ is the prior and $\text{P}(D|M)$ is the likelihood. I have the the prior distribution, and I know the function that can give the likelihood for any input parameter sample. Then the Bayes rule is:
$\text{P}(M|D)= a\times\text{P}(M)\times... |
Could you explain the need of temporal abstraction in churn analysis intuitively with a simple example? I tried Google but there are not any clear answers , especially for churn analysis.
|
I'm trying to build a predictive model to forecast the residual value of used electronic equipment. As a first step, I created a few quick plots in order to visually identify any interesting features. Here's an example:
A couple of things stood out:
the prices are 'steppy', i.e. they have a tendency to hug round
numb... |
I was working with SVR, and wondering, why can't I solve a natural regression problem as a multiclassification task ?
Example:
I have for a regression problem: targets 1, 5 and 10, trying to fit Integers numbers inside of this range.
Why can't I use a multiclassification with targets 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ?
Wh... |
I have a big data set with unlabelled observations (several million) and about 20 thousand properly labelled ones. There are only two classes and all correctly labelled samples belong to the same class. I want to see if I can expand my data set using the following technique:
First I construct my classifier using only t... |
I have gotten some advice from a PhD statistician on doing predictive modeling on large datasets (lots of variables AND lots of observations) that I should perform transformations to eliminate skewness in my numeric variables. I should first try various power transformations, then when that doesn't work, try rank tran... |
I always found the concept of determining the "ideal" number of components/factors for an ICA/PCA/FA via a scree plot useful and quick, but also a bit shaky.
In an effort to try to make the scree plot "elbow" more obvious (and without trying to fit a function to the scree plot data points). I was thinking whether plott... |
I have two variables - X and Y and I need to make cluster maximum (and optimal) = 5. Let's ideal plot of variables is like following:
I would like to make 5 clusters of this. Something like this:
Thus I think this is mixture model with 5 clusters. Each clusters have center point and a confidence circle around it.
The... |
So I am a bit confused about why the number of ways to get a full house is:
$ 13 \choose 1 $$ 12 \choose 1$$ 4 \choose 3$$ 4 \choose 2$
as opposed to:
$ 13 \choose 2 $$ 4 \choose 3$$ 4 \choose 2$.
Alternatively, with 2 pairs, why it is:
$ 13 \choose 2 $$ 4 \choose 2$$ 4 \choose 2$$4 \choose 1$$11 \choose 1$
over:
$... |
I have been reading about calculating $R^2$ values in mixed models and after reading the R-sig FAQ, other posts on this forum (I would link a few but I don't have enough reputation) and several other references I understand that using $R^2$ values in the context of mixed models is complicated.
However, I have recently... |
Is it possible that all the parameters of a generalized linear model are constrained to be non-negative? If so, when? Any examples?
|
I have seven factor and one response variable with 32 run and one replication i.e. 64 runs and I want to use logistics regression. I found in th analysis that 4 out 7 factors are significant. I want to check curvature. If curvature is not significant then should i make some other lay out of DoE only considering only si... |
Consider the polynomial kernel: $$K(\boldsymbol{x}, \boldsymbol{x}') = (\boldsymbol{x}^{T} \boldsymbol{x}'+c)^{d}$$
What exactly is the role of $c$? If $c$ is large, does this indicate that lower order terms play an important role in determining the similarity of $\boldsymbol{x}$ and $\boldsymbol{x}'$?
|
I have checked with various sources, but I'm still puzzled:
1) What are the exact assumptions of Mood's Median Test?
2) Is homogeneity of variance needed for both groups or is the same shape criterion sufficient?
|
I'm using the function compareGrowthCurves in the R package statmod, but I can't seem to find an explanation of what types of curve this is valid for. Does anyone know if there are particular families of functions I shouldn't use this for?
Specifically, I have data on bacterial growth and under some conditions I have... |
I found my four independent variables have a high positive association with my depepednet variable. However, except one independent variable, P value of all other indepdent variables are not significant in my regressino analysis. My hypothesis is that each of my independent variables separately has a postive relationsh... |
I have data on damages on flowers from different treatments. The damage was originally count data (number of damages per flower) but the person collecting the data categorized the data in four levels - no damage (0) to a high damage level (3).
I know I could use logistic regression to model the odds but I wonder if it ... |
I was proposed a problem and I am not quite sure how to go about it. The problem is I want to find a relationship between two variables. For the simplified case there are only two variables, lets say Diabetes and Congestive Heart Failure. Each variables has a $0$ or a $1$, if you do not have the disease or if you do, r... |
Given an easily-computable probability density function $f(x)$, what algorithm can we use to numerically approximate percentiles?
For instance, we might be looking for $x$ such that given $X \sim f(x)$, $p(X \le x) = 95\%$.
Here is a use case that motivates this:
We're estimating the shape $\alpha$ and inverse scale $... |
I have a rather simple question (I hope) but for some reason I can't find the right/ a working answer anywhere on the web.
For my research I have measured mood on a scale 1-10, 6 times a day for 5 weeks. (thus a repeated measures design if i am not mistaken). The participants were assigned to three conditions based on ... |
I really do not know which kind of variable my response data is. I cannot find any answer to my question in the world wide web.
I have the results from a survey of 900 consumer. Each consumer told on how many m² he used one cleaning agent. So the result can be maybe 0.11 = They used a cleaning agent on 11% of their hou... |
Let's say we have two cointegrated time-series, $Y_{1}$ and $Y_{2}$, and I want to assess the causal impact of $Y_{1}$ on $Y_{2}$. There is good reason to think that both variables are influenced by a variety of outside factors.
$Y_{1}$ contains some observations equal to 0 (in my case, about 12 from a total 100) that... |
Given a tree trunk with concentric circles, can we predict the weather for each year? Each concentric circle accounts for a year that the tree has been on the Earth. The innermost circle is the oldest year and the outermost circle is the current year.
I have a data set that tells how much rainfall there was for every y... |
My data are not normally distributed. I have to compare three groups for their achievement in skill learning. $n=4$ in each group. I have used three methods ($M1$, $M2$ and $M3$) to teach one skill to developmentally delayed children.
Can I still use ANOVA?
Do I have to use repeated measures of ANOVA or a time series... |
Consider the following bivariate vector autoregression: $$X_t=\mu +X_{t-1}A+\varepsilon_t,\ \varepsilon_t \overset{iid}{\sim} MVN(0, V),\ X_t=(X_{1,t},X_{2,t})',$$
where the assumptions on the coefficient matrix $A$ are such that the process $\{X_t\}$ is stationary, i.e. there are no unit roots.
The goal is to find a... |
Given a matrix $\mathbf V^{m \times n}$, Non-negative Matrix Factorization (NMF) finds two non-negative matrices $\mathbf W^{m \times k}$ and $\mathbf H^{k \times n}$ (i.e. with all elements $\ge 0$) to represent the decomposed matrix as:
$$\mathbf V \approx \mathbf W\mathbf H,$$
for example by requiring that non-negat... |
The density of the Laplace distribution is given by:
$$f(x;\mu,\sigma)=\frac{1}{2\sigma}\exp\left(-\frac{\vert x- \mu\vert}{\sigma}\right).$$
It is easy to see that this function is not differentiable at $\mu$. However, I am interested on some asymptotic normality results of the MLE $(\hat{\mu},\hat{\sigma})$, which re... |
I forget where I got this data (I think from About.com College), but here are some statistics regarding University of California, Berkeley admissions: the 25th percentile SAT Reasoning Test score was 1870, and the 75th percentile was 2230. Let's say that my performance is a standard distribution with mean 2200 and stan... |
This is my barplot. Model(red) is my estimated frequency at each X-axis vale (0-19) and actual is the frequency at each X-axis vale. How I can measure error of this estimating work in barplot?
If I use mean percentage error it does not consider the each size of bar. How should I solve that??
Of course, I have a data a... |
Does it make sense to use cross-validation with factor variables that have 3+ levels? When using bestglm, I get an error saying that it doesn't work with categorical variables. In the documentation the reasoning is "Cross-validation is not available when there are categorical variables since in this case it is likely t... |
I am trying to understand intuitively the assumptions mentioned in the following theorem:
Theorem. If there is a function $Q_0(\theta)$ s.t. (i) $Q_0(\theta)$ is uniquely maximized at $\theta_0$; (ii) $\Theta$ is compact; (iii) $Q_0(\theta)$ is continuous; (iv) $\hat{Q}_n(\theta)$ converges uniformly in probability to ... |
I'm trying to use some code that includes Gamma priors for Poisson (rate) and Exponential (rate) distributions. I want to make the priors noninformative. I read that using a Gamma(0,0) is equivalent to the Jeffreys prior, which is noninformative. Is this true? Can anyone suggest any references for this? I thought t... |
I was reading through this one page paper on using Gibbs sampling for detecting a change point in a time series like data. While I understand the part where the $\lambda$ and $\phi$ are chosen from a gamma distribution I do not understand how the author generated the posterior distribution for $k$.
My thinking is, if ... |
I've been reading some literature that discusses 'linear factor models' which appear to describe the general equation often used in OLS regression. When people refer to a 'linear regression model' are they essentially just referring to a linear factor model? Where does the term linear factor model fit in in statistic... |
I am trying to investigate the correlation values. A big problem happens.
The method I used is in corpcor package in R.
I have a column as missing data. I firstly calculate the correlation matrix.
cluster1corMatrix<-cor(cluster1Analytes,method="spearman")
Then I get a correlation matrix.
when I did partial correl... |
I have the following model that I would like to rebuild:
$Y_{i,t}=a+bx_{i,t}+cx_{i,t-1}+e_{i,t}$
I' am wondering now whether this is the same as the model above:
$Y_{i,t}=a+ d\Delta x_{i,t}+e_{i,t}$, where $\Delta x_{i,t}=x_{i,t} - x_{i,t-1}$?
I believe this is true but i just need to be 100% sure.
Thank you
|
I'm looking for an R package (or a combination of packages) that would allow me to perform MCMC estimation of a GMM model, with a user-specified moments function.
I've looked at the CRAN Bayesian task-view, but I can't seem to find what I'm looking for, packages being either too general (eg. mcmc) or too specific (MCMC... |
I would like to use R to solve a problem I have. I don't even know what to call a problem of this kind and I'm finding Googling difficult. My guess is that this kind of problem already has R packages to help solve it, but I'd very much appreciate help defining the problem.
I want to select the optimum combination of ... |
To my understanding, Cramer's V cannot be negative because of the way we define it. But here's what I got from SAS:
|
I need to show that BMI of adults is neither age nor gender specific. Should I do ANCOVA or randomly make age groups and do two way ANOVA?
|
I feel like these questions should be related to the binomial and geometric distributions, but I can't quite work out how.
Suppose I do sequential independent Bernoulli trials each with success probability $p$. Rather than fixing the number of the trials, as with the binomial distribution, I want to fix the number of s... |
I have a complex experimental design: 3 groups, each of which come on 4 occassions and I obtain recordings from 250 skin electrodes. I am interested in knowing which of the electrodes provides a useful indicator for predicting the group x occassion interaction. So, if I do 250 ANOVAs (3x4), surely I will need to correc... |
I would like to run a semi-symmetric bi-directional case-crossover method on some generated data using conditional logistic regression.
I generated data from Poisson distribution Poiss(lambda) with
$\textrm{log}(\lambda)=\lambda_0 \textrm{exp}(x\beta), $
where $\lambda_0$ and $\beta$ are known and $x$ is a known time... |
With OLS regression the errors must be normally distributed and be homoscedastic. Does these rules apply to polynomial regression as well?
|
I have 2 different conditions of 'behaviour state' and 2 different people. I'm trying to find a way to test if the difference in distributions (which I'm assuming are approximately normal) changes significantly between these conditions, and cannot for the life of me figure out how to do this (particularly in MATLAB). E... |
I want to use the Kolmogorov-Smirnov test to test if a sample is drawn from a Pareto distribution. Unfortunately, the only way to estimate the distribution's parameters is from the sample.
Does anybody know of the existence of tables with modified critical values or any other way to perform the test in this case?
|
Although I may ask a question that is already solved (but I found none that would explicitly refer to this), I would like to know, if (and I am no statistician) I am right with programming the log-likelihood function of a beta-binomial distribution in R as follows:
sum(lgamma(theta) - lgamma(Pi * theta) - lgamma((1 - P... |
If $X_i$, $i =1,...,n$ all follow a normal distribution $N(\mu,\sigma^2)$, and are independent,
does $\frac{\sqrt{n}\cdot(\frac{1}{n}\cdot \sum X_i - \mu)}{\sqrt{(\frac{1}{n}\cdot \sum (X_i-\mu)^2)}}$ follow a student t-distribution with n degrees of freedom?
I am aware of the classic formula with the n-1 degrees of fr... |
I work for a manufacturing company that collects times (man-hours) for tasks. The tasks are similar in concept from one product to another, but the characteristics of the product can vary (like size, voltage, etc).
It has been something like ten years since I've had to do any heavy lifting in terms of data analysis...... |
I am trying to compare Cox model with ANN by R but I have some problems.
the result of package coxph is hazard but the result of package nnt is survival time
How to create labels in ROC curve in rocr package.
How to calculate concordance indexes by which package.
|
I am trying to fit a bivariate cluster model with X and Y. What I would like to do is discard (make not clustered / un-grouped) that are far from the cluster center (for example $\mu$ + 2*standard deviation) at each direction.
X2 <- c(rnorm(150, 10, 1),rnorm(50, 10, 5), rnorm(150, 25,1),
rnorm(50, 25, 20), rnorm... |
I need your help to identify group means and calculate the corresponding 95% confidence intervals for a set of independent samples with 2 dependent observations within each of those samples. I'm using R with the NLME package. Below is a simplified example with a similar structure to my actual data.
Let's assume that bo... |
As far as I can tell, curvilinear is defined vaguely but means the same as nonlinear. Is that correct? Or does curvilinear have a distinct definition?
|
I have a treatment group and two control groups for customers and the count of their transactions:
Treatment Group
Customer | Transaction Count
-----------------------------
1 | 0
2 | 2
3 | 3
4 | 0 ...
Control Group 1
Customer | Transaction Count
-----------------------------
1 | 1
2... |
For a simulation study I have to generate data according to a trivariate mediation model (Baron & Kennys causal step approach). Assuming $X$, $M$, and $Y$ are continuous variables of sample size $n$, the following regression equations constitute the data generating process:
$M = \alpha + aX + \epsilon$
$Y = \alpha + c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.