instruction
stringlengths
9
38.7k
I am trying to use a binomial generalized linear mixed model to analyze binary data of an experiment. Just few details on the experiment that could be useful: The dependent variable is Score: 0 (incorrect); 1 (correct) The two predictors are CongRec: -1 (Congruent); +1 (Incongruent) and TempsExp: 6 levels (33ms,50ms...
I'd like to create a normal probability plot like the one below and was wondering if it has a particular name? I ask so that I can search for that name and find help on how to create a graph just like it. I got this graph from a book I'm reading and the author says: When more than 10% of the dots fall outside the blu...
There is a theorem about inverse transform method says if X is a continuous random variable with cdf F, then U=F(X)~U[0,1] So I am wondering the logic in this sentence. Why if X is a continuous random variable with cdf F, then U=F(X)~U[0,1]? Why is it always be uniform and how does this theorem work in real example?
Let's assume I have a finite population N and that I draw two samples from it n1, and n2. A single sample can belong to both samples. Calculating the averages for each sample and the confidence intervals is simple enough. I want to know can I combine the two samples somehow to obtain a tighter confidence intervals on t...
These posts explains the PCA objective in matrix form in very nice way: What is the objective function of PCA? PCA objective function: what is the connection between maximizing variance and minimizing error? But I am still confused about the scalar notation in the Introduction to Statistical Learning, page 376: $\qua...
I don't know if this forum or the DS forum is better but I'll start here. I have a project that has been presented to me but I'm trying to think of the tools that I would apply to this (or if it's even possible). I have obscured the exact details in order to protect the project, but here is a good illustration: Let's ...
I have seen in a text book the following, $$ \int \mathcal{N} \left(t;s,\beta^2\right) \mathcal{N} \left(t;\langle \mu, x \rangle + \frac{y \Sigma v}{w},\frac{\Sigma^2(1-w)}{w}\right)dt \propto \mathcal{N} \left(s;\langle \mu, x \rangle + \frac{y \Sigma v}{w},\frac{\Sigma^2(1-w)}{w}+\beta^2\right). $$ I am unsure as t...
I have a table of 2x4 data which I conducted to test for no association. I can do this test fine in R and I get a p value I can interpret. However I did a bit of googling and I came across another more robust test called Barnard's test. However it seems the current R implementation of Barnard's test library only allows...
If $X \sim F$ where the support of $X$ is $\mathbb{R}^p$. So, $X = (X_1, X_2, \dots, X_p)$. Then say I assume $X$ has $k$ finite moments. When $p = 1$, I know that that means $$\int_{\mathbb{R}} x^k\, f(x)\, dx < \infty, $$ where $f(x)$ is the associated density of $F$. What the mathematical equivalent of assuming $X$...
assuming effect size = .15 and alpha = .05 and power = .80 for 1 continuous criterion and 3 predictors (1 continuous, 2 dichotomous) what would be the minimum N I would need? using Gpower, it looks like I'd need N=55 for 3 predictors, but that seems to assume continuous predictors. from Gpower, for an effect size = .30...
Disclaimer: I'm a computer scientist and only a wannabe statistician, this question might therefore be naive, please indulge me. I am working on a model using data measuring the same real world feature on different scales. Assume for instance that I model temperature but one set of data has the target value in Farenhei...
I have seen the other posts regarding interpretation of slope estimates of a Poisson regression and based on that, this is my interpreation of a poisson regression. Can anyone advise me if I can write the below statement: mdl<-glm(y ~ year, family="quasipoisson") summary(mdl) Deviance Residuals: Min 1Q Media...
In the Matlab documentation for the Pattern Recognition Network (patternnet()), I am confused about a line of code in the documentation: [x,t] = iris_dataset; net = patternnet(10); net = train(net,x,t); view(net) y = net(x); perf = perform(net,t,y); classes = vec2ind(y); Why is y = net(x)? So, I am assuming that y is...
The bird auditory surveys consist of >100 roadside survey routes across Ontario. Bird call count was conducted at 10-20 stations along each survey routes for >10 years. For each station, there is data on the amount of forest harvested within the last 5 years. An objective is to assess how bird abundance is affected by...
Student's t distribution is defined as: $\frac{\bar{X} - \mu }{ S/\sqrt{n}}$. When we are testing normal populations with equal variances, to calculate the critical region we can: for two random samples of sizes $n$ and $m$ from $X\sim N(\mu_1,\sigma^2)$ and $X\sim N(\mu_1,\sigma^2)$. and hypothesis $H_0: \mu_1 - \mu...
I am looking to do time series forecasting with multiple variables. For example a data frame (df) of 4 different time series might look like this, where each column is its own time series: X1 X2 X3 X4 1 4 13 2 81 2 24 91 86 58 3 21 97 39 1 4 1 56 79 55 5 63 6 91 79 6 66 96 95 81 Let's say X1 is 'c...
I'm trying to analyze some count data for a few species ('Tetab' indicates the species in the below code). Consulting with a friend who is much more stats literate than I, he suggested analyzing the data with a Poisson regression, and then utilizing confidence intervals to determine which treatments resulted in signifi...
I'm a stats noob and I'm following this guide on how to work out whether the variances in 2 samples I intend to use in a 2-sample t-test are equal. In the video he refers to an f-crit table for Alpha values of 0.05. How do I figure out what Alpha value my sample data has?
I am currently validating the work of another statistician tasked with developing a logistic model for biomedical data. The data consisted of the following: metab_x is a 71 x 186 matrix of 186 clinical chemistry markers measured across 71 patients; outcome_y is the patient's disease status, a 71 entry factor vector wit...
I am new to multinomial logit regression, though I have done work with simple logistic regression. I am attempting to build a model looking like the following: $$ \log(P_i/(1-P_i)) ~ X_1 + X_2 + X_3 $$ Where my dependent variable I am attempting to model for is in 4 levels: -2, 0, 3, or 7. I am running the model u...
I collected data from 3 rats ($r_1, r_2,r_3$). Each rat was put under two treatment conditions. Under each condition, from each rat, I collected responses of many brain cells (neurons, $n = 150-200$) simultaneously. From the responses of all the neurons of a given rat, I compute a single number ($Z$). I can't compute $...
I'm trying to run a hypothesis test on panel data, where in each period $t_i$ an event $X\in \{0,1\} $ either does or does not occur for each of the entities in the panel. I'm trying to determine whether the event $X$ is more likely to occur at $t_{i}$ if it has already occurred in $t_{i-j}$. At first I thought a propo...
I'm trying to model how one time series A (transactions in an asset in some market) leads another time series B (transactions in a related asset). In this sense, I guess I'm trying to forecast B using lagged values of B and lagged values of A. What tool seems to fit the description of what I'm trying to do? I was think...
Is there a prior probability distribution associated with BIC (Bayesian Information Criterion)? I ask this because in the R package BAS there is a linear modeling function that can be called as follows: bas.lm(y ~ x, data = my_dataframe, prior = 'BIC') and the documentation is not clear on how the priors are set given...
Suppose that $X_1,..,X_6$ are jointly normally distributed. $f(\mathbf{x})= \frac{1}{\sqrt { (2\pi)^k|\boldsymbol \Sigma| } } \exp\left(-{1 \over 2} (\mathbf{x}-\boldsymbol\mu)^{\rm T} \boldsymbol\Sigma^{-1} ({\mathbf x}-\boldsymbol\mu)\right)$ Suppose we also know that $X_i \sim N(0,1) \forall i \in \{1,...,6\}$ We h...
After reading some of the literature on Time-Delay Neural Networks (TDNNs) I'm fairly confident that I can build one; sources like the user manual for the Stuttgart Neural Network Simulator and the original paper by Waibel et al.1 provide pretty good directions. The concept doesn't go very far beyond ordinary feed-forw...
The Residual Sum of squares (RSS) in Weighted regression is written as $$(\mathbf{y-X\hat{\boldsymbol\beta}})^{'}\mathbf{C}^{-1}(\mathbf{y-X\hat{\boldsymbol\beta}})$$ Where $$\hat{\boldsymbol\beta}=(\mathbf{X^{'}C^{-1}X})^{-1}\mathbf{X^{'}C^{-1}y}$$ I am trying to write the RSS in an efficient manner which reduces com...
I am new to machine learning and i am trying to understand this called from scikit's learn website under linear regression example: prediction = print((clf.predict(x_test) - y_test) **2) score = print(clf.score(x_test, y_test)) Why would i use the test data to make predictions or for checking variance score? Shouldn't...
I'm having a hard time verbalizing the difference between these two concepts. How does this sound? Standard deviation: perform a measurement; there is a 68% chance that that measurement will be within one standard deviation of the sample mean. Qualitatively, measures scatter/variation/dispersion of the data. It does ...
Like many people these days, I'm afflicted with the disease of recapitulating my work in my leisure. So it is that I find myself wanting to use data analysis to reverse-engineer the haggling mechanic in the venerable online game Neopets. As a first step, I'm trying to learn how the shopkeeper comes up with a counteroff...
I am told during the Gaussian Process class that the following notations are equivalent as convention: \begin{align*} \mathbf{y}|\mathbf{f} &\sim \mathcal{N}(\mathbf{f}, {\sigma_n}^2\mathbf{I}) \\ p(\mathbf{y}|\mathbf{f}) &= \mathcal{N}(\mathbf{f}, {\sigma_n}^2\mathbf{I}) \end{align*} How does it relate to the typical...
I measured individuals with two different treatment in a task where they had to find 5 items. All individuals solved the task and found all items. Here is a dummy dataset: Individual Treatment Lat1 Lat2 Lat3 Lat4 Lat5 1 A 10 17 23 27 32 2 A 5 ...
I'm playing around with Caffe and I'm doing some experiments on different convolutional neural networks. I think that I built also a good theoretical knowledge on the CNN but I want to dig a bit deeper on how they behave internally. In particular I'm interested in the expected activation level of the neurons in the hid...
Just for simplicity let's look at Markov states with a finite number of states. So we have a sequence of random variables $(X_t, t\in \mathbb{N})$. Let's assume that there is a steady state distribution $\pi$ to which the chain converges, i.e. as $X_t \to \pi$ when $t \to +\infty$. Analysing this definition it can b...
A previous year's grading curve for an exam I will be sitting is : Assuming the exam has 100 (or any number of) questions each equally weighted, will it take fewer extra correct answers to move up percentiles as you move away from the average? E.g. will I need fewer extra correct answers to move from the 60th percenti...
I want to test whether the results obtained from a new sensor agree with those of an already used more accurate sensor. Both sensors measure a certain physical quantity which after a transformation can take on values between 0 and 1. These values are then assign to one of three groups so that I have ordinal data. I am...
Suppose the only information I have about a variable $x$ is as follows: The mean, $\bar{x}$ The sample size, $n$ The values used to calculate $\bar{x}$ were from a particular interval that ranges, say, from $a$ to $b$. In other words, this is a truncated distribution. Here is what I need: Step 1: Compute posterior d...
For an exercise I'm asked to resolve the "dependency" of two variables (data sets) using x-y plots. So I plot to the x-axis the variable that I infer as being the predictor and to the y-axis the one that I infer as being the response. However, how am I supposed to infer whether and what kind of dependency there is by j...
Assume we have 3 time-series variables $Y$, $W$, and $P$. They are positive and co-integrated with $0 < W + P < Y$ at any time $t$. Now define $w = W/Y$, $p = P/Y$, and $c = 1 - w - p$. Also define some latent variable driving $Y$, for instance we care about $Z$ with $Y = Z * X$, where $Z$ is stationary and $X$ is co-i...
I'm working with unbalanced class databases and I'm wondering what's the best practice to retrieve the best threshold cutoff value using roc curve ? I want the best cutoff to maximize my F1 score. I already have a roc curve I'm wondering what the best practice to generate the best threshold cutoff.
I'm following Kashin's review of MLE Suppose we have a simple Bernoulli distribution and we know its true parameter $p_0$. The Fisher expected information $I(p_0)$ is equal to the variance of the expected score, when evaluated at $p_0$. It's also known that the MLE estimate $p_{mle}$ converges to $p_0$ like $N(p_0, I...
This is not a pure programming question. I am trying to understand what's going on when I try to use RBF with 5 centers. I am using R to exemplify, see below. My data set: x <- c(0.0, 11.0, 17.9, 49.3, 77.4) y <- c(0.2497978, 0.5090220, 0.5373010, 0.6032853, 0.5938590) I would like to interpolate this data with a RBF ...
I want to model the impact of a firm's degree of operational diversification ($D$) on its firm value ($Q$). To do so, I use the following regression equation: $$Q_{it} = \beta_0 + \beta_2D+\gamma X'+u_{it} \tag 1$$ The subscripts indicate the time ($t$) and the firm ($i$). $X'$ is a vector of control variables. When e...
I have letter frequencies from two corpora. What methods I can use to test: if there is statistical significance between the frequencies in general if there is statistical significance between the frequencies of a particular letter (for example, A) Sample data: Corpus_1 Corpus_2 a 2367073 467680 b 364...
I am testing mediation in SPSS, and all Baron Kenny steps are satisfied, but I have problem in last step. When I include mediator, F becomes non significant, but beta is significant and effect is smaller after including moderator. Can I interpret this like mediation? Sample size is 126. Dependent variable is disease s...
I'm using a Cox proportional Hazards regression (R survival package) to model Credit card activation propension, ie, which people are more likely to make their first buy? To give more context: Defining target variable - Credit Card industry. So I have: birth: Credit card creation death: Date of first buy event: people ...
I’m working on an exercise to check if a difference between two correlation coefficients is significant. However, I have certain doubts after I did some reading about the topic. My data consists of 2 sets of daily returns on stock indices (relative changes) for a period of about 10 years. There is an event, approximate...
I am looking for a class of probability density functions $f_X(x)$, with support $\subset [0,\infty)$, for which there exist a non-empty subset of $\mathbb{R}^+$ denoted by $S_X$, such that $\forall c\in S_X$, $\frac{f_X(x-c)}{f_X(x)}$ is a non-increasing function of $x$ over the intersection of supports of $f_X (x)$...
I have two continuous variables that may have nonlinear relationship. Scatter plot of two variables showed an ellipse shape. Furthermore, both Pearson correlation coefficient and Spearman's rank correlation coefficient were calculated and they were 0.624 and 0.619 respectively. Is this indicate a linear relationship? ...
So I have been trying to understand PCA for the past day, and the part that I don't understand is when the original data is reconstructed after dimension reduction. Below is the code that I was follow from here. I what the code is doing for the most part, but the one line that I don't understand is this line: Xt_recon...
I am new to survival analysis and am having difficulty choosing how to analyze my dataset. The background is that I have a pretty big dataset that includes ~22,000 subjects, with slightly over 65K observations over five years. The 'final state' of the patients can be: Death (due to disease), Death (due to other cau...
If $N$ is a binomial random variable with parameters $n$ and $p$, it follows from the Chernoff bounds that $P(|N-np|\geq a) \leq 2e^{-2a^2/n}$ But when $p$ is small, the preceding Chernoff type bound can be improved to yield the following $P(|N-np|\geq a)\leq 2e^{\frac{-a^2}{3np}}$ I do not understand the final inequal...
I have two computational agents which are attempting to learn the best policy for some decision problem. After 5000 samples, both agents converge on the optimal policy. (I.e their policy error is 0). The graph looks something like this (where the x-axis is the number of samples seen so far, Y-axis is the error, and red...
I referred to this link and I have the following questions regarding my data. Let me start by explaining the time series that I am dealing with. I have daily hospital data with various departments and numerous doctors working in each department. I have several years of data and my forecast horizon is for the next 365 d...
If I were to issue a questionnaire that asks people to provide a particular, continuous numerical score to something (between 0-100) how would I statistically test whether the those scores were within x range of the scores that the same group later provided for something else? Would using confidence intervals be suffic...
In Bayes theorem of a parameter $\theta$ with data $D$, we have: $$P(\theta|D) = \frac{P(D|\theta)P(\theta)}{P(D)}$$ where I know $P(D)$ as the marginal likelihood. Is it true that the marginal likelihood is referred to as evidence in Bayesian statistics? If not what is commonly refered to as evidence?
I have a data like this. I need to find 7 predictors' coefficients for the best model to predict dependent. It can only be 1 and 0. A B C D E F G Dependent 1000 20 -4 150 -567 -83 10 1 -400 35 3 78 341 45 -9 0 When "c" stands for coefficient; Depende...
A typical confusion matrix from R's caret package might look like this: > confusionMatrix(pred_gbm, vowel.test$y) Confusion Matrix and Statistics Reference Prediction 1 2 3 4 5 6 7 8 9 10 11 1 33 1 0 0 0 0 0 0 0 4 0 2 8 23 3 0 0 0 2 0 1 16 1 3 1 14...
I'm currently interested in learning NMA using WinBUGS. I studied the general concepts behind multiple treatment comparisons and i have a good base on classic pair-wise meta-analysis. I can also do a network meta-analysis using the frequentist approach with the netmeta R package. However i see that most of the publicat...
I have some seed dispersal data and I am attempting to solve the question of "What variables best predict the following: a lemur specialist-dispersed seed (only 1 lemur species disperses the given seed species), a lemur generalist grade-1 dispersed seed (between 2-3 lemur species disperse the given seed species), and a...
I calculated AUC using SPSS and the output was: 0.623, std.Error=0.056. p=0.055. lower Bound was 0.513 and upper was 0.743 How could it be that the p value is not significant and the lower Bound of C.I was more than 0.5?
I am trying to get a feel for which DR scheme is most suitable for my problem, with the stipulation that the scheme is bijectiv; i.e. there is a two-way map between the low-dimensional manifold and the original space. EDIT: For clarity: is it possible to select your dimensional reduction so that you can project UP from...
Normally it is best to be able to set up a randomized AB test to measure if some change is actually better than the original. What about in situations where it is not ideal to AB test? For example, we are a ride sharing company operating in an area where the amount of drivers are much lower than the amount of people...
I'm running SPSS v. 23. I have a dataset of 257 rows originating from ArcMap analysis. It contains the following variables/columns (all distances are in meters): Nest location (string, names of 3 locations) Nesting outcome (string; fail, success, unknown) Number of chicks fledged (numeric; 0,1,2.3) Distance to connecte...
I wish to conduct a path analysis (graph below) on data which are repeated for some individuals (but not all individuals, nor all at the same time). Is it possible to model variance structure with for example an individual variance or temporal variance (between years) in a path analysis? If it is, in which software and...
As it is well known, deep learning can help to learn the features. However, are there any ways for us to either understand or visualize these learned features? Moreover, how to explain the patterns based on these features? For instance, I can build a deep-learning based classifier to categorize car and airplane. Assum...
I have two multivariate normal distributions (say X and Y) fitted on existing data. With new data I want to compute the probability that sample is from distribution X instead of Y. It can only be one of these two distributions. Any ideas on how I can go about doing this?
I'm trying to learn about density estimation. I'm now using Silverman's book Density Estimation for Statistics and Data Analysis , but it is very hard to follow the book, without examples and exercises. I want to learn about density estimation techniques like: kernel method, orthogonal series, maximum likelihood penali...
(EDITED) I am curious what methods are out there to model item changes in survey intended to measure the same underlying construct. Suppose items I1 ~ I4 are used to measure underlying construct C1. Instead of I1 ~ I4, in the following experiment (with different subjects), we use I2 ~ I5 (remove item I1 and add item I5...
I'm in the process of fitting measurement invariance models using the semTools package for R. For the basic measurement model--not distinguishing between groups--I used a robust ML estimator (MLR), and everything seemed fine. But I noticed that when I used this robust estimator (or an alternative robust estimator like ...
I thought that the concept of typical set was pretty intuitive: a sequence of length $n$ would belong to the typical set $A_\epsilon ^{(n)}$ if the probability of the sequence coming out was high. So, any sequence that was likely would be in $A_\epsilon ^{(n)}$. (I'm avoiding the formal definition related to entropy be...
Running the example from bnlearn documentation in R data(gaussian.test) fitted = bn.fit(hc(gaussian.test), gaussian.test) # the result should be around 0.04. cpquery(fitted, event = ((A >= 0) & (A <= 1)) & ((B >= 0) & (B <= 3)),evidence = (C + D < 10)) When I run the last command multip...
Let $X_i$ be a sequence of iid standard normal random variables, $\sigma:[0,1]\to\mathbb{R}_+$ a continuous function. Define $r_{n,i}\equiv\frac{\sigma(i/n)X_i}{\sqrt{n}}$. Show that: $$ \sum_{i=1}^nr_{n,i}^2\overset{p}{\to}\int_0^1\sigma^2(s)ds $$ I managed to show that: $$ \frac{1}{n}\sum\sigma^2(i/n)X_i^2-\frac{1}{n...
I am trying to do sentiment analysis. In order to convert the words to word vectors I am using word2vec model from gensim package. Suppose I have all the sentences in a list named 'sentences' and I am passing these sentences to word2vec as follows : model = word2vec.Word2Vec(sentences, workers=4 , min_count=40, size=30...
In my work I commonly have to analyze binary composition data, expressed as a fraction $f\in[0,1]$. The data $f[x]$ is spatially distributed ($x\in\mathbb{R}^n$, $n=1,2,3$), and typically comes in the form of large gridded arrays. Due to the particularities of the data and application, visualization and analysis tasks ...
I have been trying to figure out if my data are spatially autocorrelated by generating semivariogram of the residuals. I do not get the shape similar to any variogram (spherical, exponential or gaussian). I have attached the picture of the shapes that I have for 5 variables. I would be very thankful if you could provid...
I want to test on real data the idea of cointegrating relationship between two variables (namely $S$ and $F$) which depend on the state in which another variable $W$ is. $W$ can be positive or null (state 1) or negative (state 2). $W_t$ is not a completely exogenous variable because it is determined using $S_t$, $F_t$ ...
Is there some function like ranef() or some other approach to extract the random effects from a multivariate model using metafor::rma.mv function? Here's the example provided by the oficial website of the package. dat <- get(data(dat.berkey1998)) V <- lapply(split(dat[,c("v1i", "v2i")], dat$trial), as.matrix) V <- bld...
Consider a simple panel data model of wage determination, with two periods, and only one regressor: a dummy of whether individual lives in urban or rural area. Importantly, individuals can switch location between periods. $U$ is urban, $R$ is rural. $1$ is year 1, $2$ is year 2, $i$ is individual, and $t \in \{1,2\}$. ...
I have a given number, $v$, given by $$v = \sum_{i=1}^N\left\{v_i \cdot \left[m \cdot \left(1 - b_i \cdot \mathbb{1}_{\geq w}(v_i)\right) - b_i \cdot \mathbb{1}_{< w}(v_i) \right] - a \cdot \mathbb{1}_{\geq w}(v_i) \right\}$$ where all the $v_i$ are normally distributed, $v_i \sim \mathcal N(\mu,\sigma^2)$ with $\mu$ a...
My stats professor assigned this problem: "Show that the expected prediction error (EPE) for a squared error loss when $Y=f(X)+\varepsilon$ with estimator $\hat{f}(x)$ assuming $X=x$ is fixed and $\varepsilon~(0,\sigma^2)$ can be written as a combination of the bias and variance. In other words, show that $$EPE(x) = E...
I have used the betareg package in R to fit a regression. My question is: how do I calculate confidence intervals for betaregression in R?
I am using a dataset that includes different kind of data: Real valued variables Binomial categorial variables Multilabel categorical variables I would like to build a deep multi-layer perceptron using TensorFlow, however I do not know how I could possibly shape the training data in order to be able to feed it to Ten...
I'd like to model some data with high kurtosis, with the goal of predicting the response variable outside some threshold in the tails especially. OLS seems to do a bad job of this as the residuals become large at the extremes. There seems to be a few classes in literature of how to deal with data exhibiting high kurtos...
If you have a finite population, does sampling without replacement give you biased samples?
Imagine you run a linear regression $E[Y \mid X=x] = X^\prime\beta$ and compute the fitted values $X^\prime \hat \beta$ with the estimated coefficient $\hat\beta$. Then you run a Kolmogorov-Smirnov test to see whether the distribution of the fitted values is different from the distribution of the true $X^\prime\beta$. ...
How can I answer this question: Is there any relationship between teachers’ personality and their perceptions of principles of critical pedagogy? Teacher personality consists of five type of personality critical pedagogy consists of a Likert-scale (1-5).
In the case where I have an orthogonal $m \times n$ matrix $X$, and the covariance matrix of $X$, let's call it $C$, is such that $C_{ii} = 1$ for all $i$ such that $1 \le i \le n$ and $C_{ij}=0$ otherwise, how would I pick the direction of maximal variance for PCA, given that each direction has equal variance? Could I...
I have got two time series on which I have run the Johansen test for cointegration in R (package: urca). From the results I can see that no series is mean reverting and there is the cointegration at r=0 at 90% confidence level (is that correct interpretation?) Using the results I want to build a model $$y_{1t}=β_2 \ \...
There are $20$ studies, each with different $n$. Individuals analysed all have concrete (non-speculative) susceptibility numbers How do I combine all the studies into one model? Goal is to [speculatively] predict the susceptibility of these new individuals, given a less complete/professional examination (e.g.: a surv...
1) What is the difference between conducting a Linear Mixed Models and an ANOVA? 2) In which circumstances do we conduct a Linear Mixed Models Analysis?
Tikhonov regularization and ridge regression are terms often used as if they were identical. Is it possible to specify exactly what the difference is?
I am new to machine learning and do have a very large dataset for a set of 100 people over a period of 1 year. and the goal is to find out who are buddys based on their lunch times. I have the following dataset: Person StartTime EndTime Duration(dif for start and end times) Person1 Time11 Time12 diff1 Person2 Tim...
I have to compare pre and post training effectiveness for group of Managers who have undergone training programme. I have data based on rank order from 1 to 4 where 1 being the most preferred and 4 being the least preferred . Based on the pre and post data i have to give the percentage improvement in the mangers . Whic...
I am using R (version 3.2.5) to model the log-returns on a financial time series. I used the modelfit function from the "rugarch" package to fit an ARMA(0,1)+EGARCH(1,1) with a constant in the conditional mean equation and Normal errors model to the said log-returns. The modelfit function carries out the log-likelihoo...
I have categorical data where values are string. Gender, City and Country are my input data. My output class is also string values. The below table explains the data: Gender City Country Output M XYZ A Converted F KLM Z Converted M KLM ...
proc glmselect seems to be really powerful and offers 'feature selection' methods such as LASSO and LAR variable selection methods. I am just curious, can it also check for collinearity and ideally remove collinear variables? Or is this implicitly achieved via LASSO and LAR et al.?
I am currently reviewing some work which uses 'dummy variable encoding' as described here: D = dummyvar(group) D = 1 0 1 0 0 1 0 0 1 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 1 ...
I have a small sample, 199 to be exact (clinical data), is it necessary to perform Lasso variable selection on a subset which is different from training set?
Covariance is the expectation of the product of two stochastic variables. In case of two mean-free variables $X$ and $Y$, $$ \sigma_{XY} = E[X\cdot Y]. $$ This has units of the product of the variables' units. Correlation is covariance, normalised by the product of the individual standard deviations. $$ \rho_{XY} =...