instruction stringlengths 9 38.7k |
|---|
Consider the situation when you have two expressions with the same distribution.
Is there any standard notation to express they have the same distribution?
An example:
$U$ is uniformly distributed on $(0,2\pi)$, then $\cos(U)$ has the same distribution as $\sin(U)$. What is the cleanest, most intuitive way to express t... |
Let consider a study to know the factors influencing adoption of a new technology. A total of eighty farmers were selected randomly ($40$ adopted the technology and $40$ did not). The data file contains eight variables [Adoption ($1$ = adopted and $0$ = not adopted), age, education, land_size, working_members, farming... |
I'm trying to create a predictive model for a closed car park. This model is expected to estimate available parking spaces given date and time.
Brief information:
the car park has a limited capacity
a driver has to own a monthly subscription
we overbook by about 10%
a vehicle identification system exists, giving us an... |
I want to compare the mean values of two populations and understand if they are are different at a given confidence level. Two tests appear in books; the mean plus the SE of the mean and the t-test (unpaired in my case). What I cannot find is why and when you would use one and not the other. What are the guidelines, ru... |
I am totally new to Artificial Neural Networks. Let’s say that the model you are trying to turn into an artificial neural network has an output that is triggered only by the exceedance of a threshold: $y\geq y_{1}. $Therefore, you need to find a way to use this inequality as an activation function. Is this feasible?
|
I am analyzing a dataset where pre/post measurements are made (before/after a surgery) on patients who can belong to two groups, and we are interested in how group membership - let's call it G - affects the impact of the surgery. (It is a nonrandomized observational study, but let's put other confounders aside now for ... |
I do have two data-sets and I am not shure which version of the KM estimator to use. Both datasets contain the following columns:
ID | Issue Date | Last Recorded Date | Status
Wheras the Status can either be
a) Default b) Current c) Fully Payed at the End
A Loan can run for Maximum 36 month such that Status c) only app... |
I'm having some trouble understanding a few things with regards to ML estimation - suppose I wish to use this method to estimate the parameters of a multivariate model and that the data sets of each variable are not normally distributed or they are almost normally distributed, does this mean that my estimation would n... |
I'm trying the code from :
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3_NeuralNetworks/recurrent_network.ipynb
and also looking at the architecture of the Basic LSTM Cell as described in:
https://r2rt.com/written-memories-understanding-deriving-and-extending-the-lstm.html
so I wish to ac... |
Let's begin with a simple case with a known answer:
Suppose we have samples $x_1,...,x_N$ drawn i.i.d. from a real-valued distribution $D$. A common first step in analyzing this data might be to plot the empirical CDF of the data.
The empirical CDF is useful because it tells us a little about the true CDF of $D$. F... |
Let's assume I have three constructs measured with different Likert scales
Construct 1 - Measured with a 7-point Likert scale
Construct 2 - Measured with a 9-point Likert scale
Construct 3 - Measured with a 5-point Likert scale
Is it possible to conduct a Pearson correlation with these constructs? Or will the results... |
Say I have two independent random variables $X \sim N(u_1, \sigma_1)$ and $Y \sim N(u_2, \sigma_2)$. I want to get the conditional distribution of X given whether X is bigger than Y or not.
$P(X|X<Y)$ = ... and
$P(X|X>Y)$ = ...
I am thinking solving this in this way:
\begin{align}
P(X|X<Y) &= \frac{P(Y>X|X)P(X)}{P(Y>X)... |
I'm new to this website, so, please apologize if this question have already been posted and replied. I checked around and it looks like it haven't. In case I'm wrong, please redirect me to the right page.
I'm working with protein sequences. I have a sample that I want to compare with a reference. The purpose is to unde... |
Given the following regression by OLS:
$LIFE_t$=$\beta_0$+$\beta_1$$GDP_t$+$\beta_2$$GDP_{t-1}$+$\beta_3$$GDP_{t-2}$+$\beta_4$$LIFE_{t-1}$+$e_t$
and suppose I have 78 quarterly observations for both life expectancy (LIFE) and GDP per capita (GDP).
The question asks me to explain how I would run the Breusch-Godfrey test... |
Alright, I am training an xgboost model, that should give the probability of questions being duplicates (having the same intent). My train dataset is 70 MB; each column has a question pair and a boolean saying if the questions are duplicates (1 - duplicates, 0 - no); the set has 40% duplicates. I have a train set (x_tr... |
Problem description
I have a dataset consisting of 200.000 images divided between 20 classes. I'm making a classifier that predicts the class of an image. Each image belongs to one class only.
The dataset has an interesting property. Multiple images belong together and share the same class label. These subsets of the d... |
I have the next dataset:
-Day(7 levels)
-Channel (15 levels)
-DayPart(4 levels)
-Spot(2 levels)
-Format(2 levels)
-Visits (continuous variable)
Can someone give me an advice wich method to use in order to find which factors (Day, Channel, DayPart, Spot,Format) influence my continuous variable (Visits), taking into acco... |
I have a question in terms of Bayesian computation.
Let's contrast parameter estimation and model selection. When performing a Bayesian hypothesis test, this involves computing fully marginalized likelihoods. When performing (Bayesian) parameter estimation, one computes partially marginalized posteriors.
The latter is ... |
I'm working on a study where I am comparing how students did on three different exams. By the end of each exam, as always, students were assigned a final grade based on the percentage of questions they got right (80%, 83%, 73%, etc.) Each exam, however, had a different number of questions.
If I want to compare how the ... |
What is the best way to test whether R-squared from one regression analysis is significantly different from the R-squared of another regression analysis? Is the answer to the first question similar if you wanted to test significant differences between two beta coefficients from two separate regression analyses?
|
When I am studying the Augmented Dickey Fuller test I encountered with this phrase in my professor's textbook. It says exactly " In practice we use BIC or AIC to clean the residuals." It made no sense to me, I would appreciate if someone can make it more understandable.
|
Its been a while since I last did some statistics so forgive me If I am bit rusty. Please point out any obvious errors or omissions.
Thanks for any advice given.
Wally4u
Due to some new regulations we need to measure and prove that a manufacturing process is reliable. We originally specified the area ± 5 % in the spec... |
a very naive question for some of you. I have a population of 80000 data points. Some points in the population are many SD away from the rest of the population and they could be easily identified and visualized assigning them a p-value. I know that excluding those values, the population follow a nice normal distributio... |
I made a linear regression multiple model, I've got all the parameters insignificant with high p value, I get this result:
The variables are time series. Rates except Polity which is natural number from (-10 to 2)
I tried also a simple regression with each explicative variable, it's also not significant
What could be... |
I'm using the following definition for a linear time invariant digital filter:
"A digital filter L that transforms an input sequence $\{ x_{t} \}$ into an output sequence $\{ y_{t} \}$ is called a linear time invariant (LTI) digital filter if it has the following three properties:
$L \{ \{ \alpha x_{t} \} \} = \alpha... |
I am running a fixed effects model with two independent variables, their quadratic terms, and the interaction of the two variables.
$IV = b_0 + b_1X + b_2Y + b_3X_{sq} + b_4Y_{sq} + b_5XY$
How do I interpret the interaction? Does it even make sense to interpret it, given that when I include the quadratic terms, the int... |
I am doing study that starts at a specific date, January 1st 2015, and ends on a specific date, December 31st 2015. My overarching research question revolves around modeling time between orders of product $n$ from store $i$. I decided the best way to set up the data is to let the time variable be the number of days bet... |
Imagine I have 2 groups (3 healthy controls and 4 schizophrenia patients). During a limited time, they either answered to questions correctly, incorrectly, or didn't answer (missed trials). How can I test whether there is a difference between these two groups regarding the number of correct, incorrect, and missed trial... |
I am currently working on a prediction model from which the data is longitudinal data/panel data/cross sectional data. The data contains multiple companies for which I have a response variable and multiple explanatory variables for multiple years.
I would like to make a prediction of the response variable and would li... |
We are currently planning an experiment. We plan with the following variables:
An independent variable "treatment" with four values (a, b, c, d)
A number of further independent variables for confounding factors (mostly metric or dichotomous).
Two dependent variables "time" and "correctness", both ratio scale
I'm curr... |
So I have the following data.
Index , Years , Negative , Positive , Category
1 , 2004 , 23 , 29 , A
2 , 2005 , 23 , 29 , A
3 , 2006 , 30 , 22 , A
4 , 2007 , 21 , 31 , A
5 , 2008 , 19 , 33 , A
6 , 2009 , 24 , 28 , A
7 , 2010 , 35 , 18 , A
8 , 2011 , 26 , 26 , A
9 , 20... |
I have a situation where I need to model the relationship between field plot data and satellite imagery data. However, these field plot locations are hidden and I cannot learn their true locations. The researchers who have the data are reluctant to share the data if I have a way of figuring out where the plots are loca... |
What is the necessary and sufficient conditions of feature redundancy?
If two features have strong correlation, than one of them is redundant feature. Is it true? Provide an example, if it isn't true.
|
I have a continuous predictor which looks like this:
x: 1, 2, 3, ...., 100, (!!) 300, 301, 302, 303, 304, ...., 399, 400, (!!) 700, 701, 702, 703, ....
As you can see, it "jumps". I have marked the jumps with (!!).
Is this never going to be an issue? Can I always model $y \sim x$, all else equal?
|
If I include random effects for each subject in my regression, and I have 20+ subjects, what should I include in my report?
The estimates of each effect, and what else? What about model diagnostics?
The main interest lies in the other fixed effects, not so much on the random effects, but I still feel I should say somet... |
What is the typical taxonomy for clustering methods?
For example, for regression we can talk about: simple regression, multiple univariate regression, and multivariate regression. And then, we can divide each of those three branches in two sub-branches: linear and non-linear.
In that sense, I need a taxonomy for cluste... |
a very naive question for some of you.
I have a population of 80000 data points. Some points in the population are highly skewed and they could be easily identified and visualized assigning them a p-value. I know that excluding those values, the population follow a nice normal distibution. What I ask you today is wheth... |
Here is an imaginary problem, representing something I am dealing with right now.
We have a set of movies with averages scores ranging from 0 to 10, such that the target is a continuous variable. By default all movies were given a score of 0. Over time some of the movies have been given a score, while others have yet t... |
For each predicted value in a logistic model, is there any way of also obtaining a "probability score"? I'm using Python's SKLearn library to create a logistic regression model that either predicts either 1 or 0 and I would like to have another column indicating how "sure" the model is of the particular outcome. The cl... |
Please explain the following for me:
Example generated using online calculator
sequence = aaabbcddddefgghhijjk
sequence length = 20
unique characters in sequence = 11
frequencies of unique characters:
a = 0.15, b = 0.1, c = 0.05, d = 0.2, e = 0.05, f = 0.05, g = 0.1, h = 0.1, i = 0.05, j = 0.1, k = 0.05
for which we... |
Many stats packages allow you to view the adjusted means/marginal means/predicted values of a model (e.g., R's lsmeans, Stata's 'margins', SPSS's 'Estimated Marginal Means'; for more info., see https://www3.nd.edu/~rwilliam/stats/Margins01.pdf).
Marginal means are often presented with a t/z value, a p value, and confid... |
I'm trying to explain the evolution of productivity(total factor productivity) by its determinants in my country with 46 observations for each variable I explain:
I have the rate of growth of productivty a time series and I'm trying to explain it with the following independent variables:
openness to trade
political s... |
I wish to include both $x$ (the x-axis) and $y$ (the y-axis) as covariates/predictors in a regression on a separate observation $z$.
They are correlated a bit, as you can see. Will this cause colinearity issues? Or am I ok?
|
Let us have a set of languages $L = \{l_{i=1}, \cdots, l_N\}$.
Let us have a set of words $W = \{w_{j=1}, \cdots, w_M\}$ such that each word $w_j$ belongs to a language $l_i$. Let $n_i$ denote how many words each language $l_i$ has.
Let $W$ and $L$ be Discrete Random Variables so we can calculate the Posterior Probabil... |
library(lmeSplines)
# mixed model spline terms at multiple levels of grouping
data(Spruce)
Spruce$Zday <- smspline(~ days, data=Spruce)
Spruce$all <- rep(1,nrow(Spruce))
# overall spline term, random plot and Tree effects
spruce.fit1 <- lme(logSize ~ days, data=Spruce,
random=list(all= pdIdent(~Zday ... |
I have 2 movies, their rating distribution is this:
movie_id 1_star 2_star 3_star 4_star 5_star std
1 0.661 0.231 0.081 0.012 0.015 1.629
2 0.002 0.005 0.071 0.314 0.608 1.335
1~5 star corresponding to the rating as 2~10
If we look at the distribution, these 2 would look like
The... |
Trying to calculate the odds on something and was getting myself confused. I'll try to summarize into a simple problem with made up numbers.
Say a cannon fires projectiles with a population mean of 100 m/s and a standard deviation of 10 m/s, represented by a normal distribution.
I wanted to calculate the odds of firin... |
I'm new to working with time-series so forgive my ignorance. I have - to start with - two time-series of which I calculated first differences to get rid of any underlying trends that are irrelevant for what I'm interested in. Now I want to know if when one goes up the other goes down and vice versa. Do I do this using ... |
I would like to draw (as in, with a pen on paper) a line chart that is representative of a Guassian random walk defined as the sequence of random variables $(Y_t)$ where $t = 0, 1, 2, \dots$, such that for $t \geq 0$, $Y_{t+1} = Y_t + \epsilon_t$, $\epsilon_t\sim \mathcal{N}(0, 1)$ and $Y_0 = 0$. That is, start at $y =... |
Let's say that I have $P(X, Y)$, $P(X, Z)$, and $P(Y, Z)$. Are there a set of reasonable assumptions I can make that will allow me to combine them into a $P(X, Y, Z)$?
A practical use-case might be that I have software that can fit a bivariate distribution but my data has more than two variables.
|
From my experience, when a time series $T$ is integrated/has a unit-root, one cannot model it with an ARMA model can usually need to turn to the first difference of $T$ (or some research I read uses $ln(T)$).
However, I just realized recently that in R's auto.arima function (under the "forecast" package), it is possib... |
I'm having trouble understanding how the calculations for multiway array aggregations work using the example used in https://docs.google.com/file/d/0B5Ju2x50v6l5X0p3WDEwNkNTVW8/edit at page 165.
Consider a 3-D data array ABC partitioned into 64 chunks with dimensions 40*400*4000.
It then goes on to say the size of eac... |
Is there a 'standard' way to calculate an estimated median value for a given data-set that either never references a data point in the set, or is unlikely to? I'm familiar with the median of medians approach, but I'm not sure what it's limitations are.
Example:
Assume each element in the data-set is associated with a ... |
I am trying to find the distribution of sum of 2 lognormal random variables. I referred the literature available on Cross validated, Stack overflow and few papers before posting this.
I used convolution to find the distribution of sum of 2 lognormal rvs. The approximation works for difference. But, not for sum. I am g... |
In linear regression we can use A:B to show the first order interaction of variable A and B.
But it is hard to know what effect was caused by A and what was caused by B.
So I want to understand how exactly A:B worked
|
I'm trying to express conditional probability of $p(C|A \cup B)$ (probability of $C$, given $A$ or $B$) using $p(C|A)$, $p(C|B)$, and $p(C|A \cap B)$.
Using Venn's diagram I came up with:
$$p(C|A \cup B) = p(C|A) + p(C|B) - p(C|A \cap B).$$
Is this correct? How can I prove this more formally?
|
In metaheuristics, domain knowledge can be used to generate initial population to improve convergence rates in population based algorithms. (e.g. a good example is in this paper)
Is it possible to use domain knowledge to improve the population generation process? For instance, is it legit to use domain knowledge to ref... |
Q: In a one-way ANOVA, prove,
$$E\left[\frac n{k-1}\sum_{i=1}^k (\bar{x}_{i.}-\bar{x}_{..})^2\right]=\sigma^2+\frac n{k-1}\sum_{i=1}^k\alpha_i^2$$
where the symbols used have their usual meanings.
Attempt 1:
Since $\mu_i=\mu+\alpha_i$, this is equivalent to saying $\bar{x}_{i.}=\bar{x}_{..}+\alpha_i$, so we have,
$$E\l... |
Consider the weighted least square (WLS) regression estimate
$\beta_n=(X'\Omega^{-1}X)^{-1}X'\Omega^{-1}Y$
where $X,Y,\Omega$ has usual interpretation and $\Omega$ is known.
The under usual assumption $\sqrt{n}(\beta_n-\beta)\rightarrow N(0,1)$.
Now let us assume that $\Omega$ is unknown and estimated by a consistent ... |
I am trying to predict logistic regression.
For instance
fit <- glm(TARGET~ x+y, data=trainData,family=binomial)
The data (TARGET) has a label of 0 and 1.
I want to get an output of 0 and 1 from the prediction.
if I run
predict(fit,ValData, type="response"),
I can a bunch of 0.001 something like that. How do I ge... |
I've used R's "chisq.test()" function to calculate the chi square statistic between two time series, the first is a stock market series of a bank with a length 4262, and the second is a simulation of the first using some model with the same length. I used chisq.test as a measure of independence of the two series. Using... |
I often read the guideline that a random factor should at least have 5-6 levels. However, it is not yet really clear to me if there is (i) a minimum number of levels for a nested factor within a block and (ii) whether there is a minimum of measurements per individual.
For instance, I have a BACI (Before After Control I... |
I have run a logit model such that $Y$ ~ $X$, where $X$ is a categorical variable with 4 alternatives. I have dummy coded $X$ so I can perform regression, this means that category 1 is the base category.
I would like to compare the probability of each alternative $X$ including the base category.
The point of my resea... |
I have been trying to achieve a system which can scale a number down and in between two ranges. I have been stuck with the mathematical part of it.
What im thinking is lets say number 200 to be normalized so it falls between a range lets say 0 to 0.66 or 0.66 to 1 or 1 to 1.66. The range being variable as well.
Any he... |
I have three dichotomous nominal independent variables and one four-level nominal dependent variable. The dependent variable is measured multiple times (either 3 or 4, randomly determined) per configuration of IV conditions. All data is within-subjects; that is, every subject experiences each configuration of IV condit... |
I am using K-Fold cross validation to test my trained model.But i was amazed that for every K-fold the accuracy is different.For instance if use 5-K fold ,every fold has different accuracy.So which fold should i select?Does averaging of 5 fold results is ultimate choice?.Secondly,why the data-set split ratio(70:30) is ... |
I was reading this morning the paper on the architecture of Alexnet and there is one thing I cannot understand. On the convolution first layer, after the ReLu activation and the response normalisation across kernels to induce competition the second convolution layer input has the size 55x55x48. My doubt is on the depth... |
I have some linguistics categorical data to analyse. There are 5 speakers (M1-M5), and they read out certain words. The words are 200 in number, but speakers only read out the words if they understand its meaning. They are shown in random order with other filler words. The speakers produce sounds which are categorized ... |
I am not sure I am articulating this question properly, and my unfamiliarity with the proper terminology has hindered my ability to research this question.
I am looking for a metric that captures differences in the length (in time) of departures from the mean.
i have a 2 groups of time series data (below are representa... |
I am using a multiple linear regression model to calibrate 2 sensors set, my current regression model is based in a set of 2048 samples per sensor. Based on those samples, I get my multiple linear model.
I am wondering whether or not for these kind of regressions there is a theoretical expression which tells you the ma... |
I was wondering, if I perform linear OLS regression with stationary (verified) time series $y_t$ on $x_{1t}$,$x_{2t}$:
can the residuals be non-stationary?
it is not part of a list of Gauss-Markov assumption that the residuals of the OLS linear regression must be stationary so we usually don't need to perform station... |
When using a neural network for supervised learning, say recognition of hand written digits, there are several ways to use the output layer to code for the expected output. I was wondering if there are any crucial differences in performance or what the overall tendencies are.
Basically, as a specific example with numbe... |
Question:
How to calculate and add weights to each predictive variable (so that these weights represent the importance of the predictive variable in measuring the regression score)?
For example, we have scorings of documents (Response variable), obtained through functional expertise opinion, given categorical variabl... |
How can somebody apply PCA on a set of graphs? Is it possible to define a meaningful graph kernel for my problem, and then follow the typical procedure on the derived matrix of pairwise distances (kernel PCA) ?
|
I'm trying to perform Weighted Linear Regression in R but I'm not sure how to assign the weights. I know from historical data that the standard deviation for the dependent variable is proportional to its (i.e. a constant %CV)
How do I use this information to create the weights for lm() in R?
|
My project study the association between coinfection by hepatitis virus and survival among HIV-infected patients. Two opposite data exist: some studies show significant worse survival for patients with coinfection by hepatitis virus than those without coinfection; other studies show non-significant of survival between ... |
Under the Potential Outcome framework for causal analysis. Let $Y_i(W_i)$ be the potential outcome of subject $i$ if the treatment he received is $W_i\in\{0,1\}$. In reality, we only observe at most one potential outcome of each subject, i.e., if you observe $Y_{i}(1)$, then you cannot observe $Y_i(0)$.
The Fisher Sha... |
Does anyone knows how sklearn.naive_bayes.MultinomialNB estimates the model ?
http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.MultinomialNB.html
And how can i know the importance of each features (like the P-Value in a linear regression) ?
I'm running this example of text classification :
http://s... |
So, we know the shape of confidence intervals for vanilla linear regression estimated through OLS (ordinary least squares): Shape of confidence interval for predicted values in linear regression.
In a univariate scenario I'm working right now uncertainty in both dependent and independent variables makes TLS (total leas... |
I want to obtain random variates from a random variable whose probability density function is $$q(log(\sigma_t)|a_1, b_1, a_2, b_2, \sigma_{t-1},\lambda) = \frac{1}{C}\frac{\mathcal{B}(a_1; \sigma_ta_1, \sigma_tb_1)}{\mathcal{B}(a_1; \sigma_{t-1}a_2, \sigma_{t-1}b_2))}\mathcal{N}(log(\sigma_t); log(\sigma_{t-1}),\lambd... |
Suppose we have a generalized linear model with a binomial response $y_i\sim \mathrm{bin}(n_i,p_i)$ where $p_i$ is determined by the linear predictor in the usual way via some link function. Is there some way to do multiple imputation when $n_i$ is sometimes missing (MCAR or MAR) (in addition to sometimes some of the ... |
Lets assume there is a company called "XY", which is listed in the NASDAQ. Lets further assume that newspapers are frequently reporting about company XY, either in a positive, neutral or a negative way.
I am trying to figure out whether there is an influence of positive themed newspaper articles about company XY on the... |
I am running a logistic regression with multiple variables. When I add variables to my model the odds ratio estimates decrease. When looking at colinearlity there are some variables that have .3 or .2. All independent variables are binary so this seems like it is bound to happen. Since some odds ratios on their own... |
at the moment i'm examining the effect of an intervention on health (GHQ) scores among carers of people with dissabilities, but i'm stuck with the tests I should run..
Its a 2 x 3 (quasi experimental) design with repeated measures. Between subjects Group (experimental and control) and Within Time (T1: 1 week before, T2... |
Recently, I want to apply the permutation test to find out if the difference of median for sample1 and sample2 has difference. Sample1 variance is 3.225248, and
Sample2 variance is 0.1451835.
In my R script (shown below), there are two ways to compute the two tailed test p-value, one is sum(abs(c(ts, reps)) >= ts)/100... |
My Background
I am a graduate student in Transportation Engineering. I know basic Statistics but have never done any time-series/ spatio-temporal data analysis.
Data Format
I conducted an experiment on a driving simulator which produced vehicle trajectory data on a test road network. These data (for each driver) contai... |
I am fitting a logistic regression model with 6 continuous response variables (6 coefficients + intercept) and a binary response variable $y$ in rstan for $N$ observations. After setting my actual model and defining the priors for the vector of coefficients $\beta$, I also use a generated quantities block to calculate ... |
I want to study a time series using ARIMA. To understand what is the best ARIMA model, I use the function Arima (dataset, order, seasonal) from the package forecast in R. You can see dataset I am trying to analyse below.
TEST <- c(0, 0, 0, 8.718396e-04, 6.345178e-04, 4.752852e-04, 7.390983e-04, 2.973536e-04, 0, 0, 0, 0... |
I work for a software company that is building its first data science application, a program which forecasts sales based on previous sales. We have certain groups within the organization who are asking for assurances that the forecasts are "correct": in the past they have run into data models that were poorly explaine... |
I need to validate if two independent samples give significantly different results. The sample has a non-normal distribution, so I will use Mann-Whitney U Test
The dependent variable is a five-point Likert scale, with four items. My understanding is that I need to do the next steps:
1-Create a variable that is the medi... |
There is a similar thread here (Cost function of neural network is non-convex?) but I was not able to understand the points in the answers there and my reason for asking again hoping this will clarify some issues:
If I am using sum of squared difference cost function, I am ultimately optimizing something of the form $ ... |
I am trying to hand calculate the standard error for the a path in a moderated mediation model where the moderator modifies the a path. For example:
Mediator = X + Moderator + X*M
I gather that the a path would be calculated like so (with coefficients from the above model):
X + (X*M * Moderator)
How would I calculate ... |
I have a nonlinear model $$N_{t+1} = r N_t \exp (-N_t)$$ with some simulated values $$N^*_{t+1} = r N_t \exp (-N_t+ \varepsilon_{t+1}) $$
$N^*_t$ (having independent errors $\varepsilon_t$ following a normal $N(0,1)$ distribution).
I have the simulated values, but I want to check the trajectory of future values, wh... |
I've read posts mentioning that after selecting your model with the validation set you train with the full set (training + validation set) and test the model on the test set.
However, what if the validation set was used for early stopping during training?
The training part might early stop at 12 epochs but that doesn't... |
Say I have a really weird die, with numbers 1 to 200. The die is not biased. The random variable X is defined as the number of times in which the number 200 is rolled. Say the number of trials is 500. Therefore, X is binomially distributed with parameters (500, 0.005). How can one change this problem such that we would... |
Suppose we are building an "early warning system", that will output a risk score every month over 1 year, say Jan. to Dec..
The tricky part is that number of available variables/columns will be different (increase over time). For example, at beginning (Jan.), we only have $5$ features/columns for each instance, every m... |
I have a few multiple sequence alignments and a few groups (let's say N) of unaligned sequences. I would like to learn the emission and transition probabilities from the multiple sequence alignments, to build with these distributions a profile HMM and then to produce with the Viterbi algorithm N multiple sequence align... |
I would like to use cross validation both to tune the hyperparameters for my supervised learning model, and to perform feature selection.
Is it a bad practice to use cross-validation more than once on the same data?
Is there any risk of overfitting the cross-validation datasets or anything else that I may be missing?
T... |
I only know of the following power iteration. But it needs to create a huge matrix A'*A when both of rows and columns are pretty large. And A is a dense matrix as well. Is there any alternative to power iteration method below? I have heard of krylov subspace method, but I am not familiar with it. In anycase I am lookin... |
I have a study where I'm looking at post-surgical limitations after shoulder surgery between two groups of baseball players. Patients were told to select all that apply among: Pain, Stiffness, Weakness, Decreased athletic performance, or other. Patients are divided as pitchers or non-pitchers.
What is the proper way to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.