instruction stringlengths 9 38.7k |
|---|
My model of interest is given by
$Y_1 = X_1\beta + \epsilon_1$
with $Y_1\in\mathbb{R}^{n_1}$ , $X_1\in\mathbb{R}^{n_1}$ , $\beta\in\mathbb{R}$ and $\epsilon_1\in\mathbb{R}^{n_1}$. However, $X_1$ can not be observed in the same sample as $Y_1$, and therefore has to be replaced by a predicted regressor $\widehat{X}_1$.
... |
I am studying time series. I have the following data:
The Model for this Data is given by:
$Revenue= \beta_0+\beta_1{X_{1t}}+\beta_2({X_{S1,t}})+\beta_3({X_{S2,t}}) + \beta_4({X_{S3,t1t}})$
or equivalently :
$Revenue= \beta_0+\beta_1{X_{1t}}+\beta_2(Qrt1)+\beta_3(Qrt2) + \beta_4(Qrt3)$
(I am not sure if it is correc... |
Is the RSS in a simple linear regression onto the largest principal component always less than or equal to the RSS of a simple regression onto the rest of the smaller principal components? I feel that this should be the case because the variation in the data is greatest along largest principal components, so I feel tha... |
I have a dataset of 21 classes. Each class has different number of samples. I want to sample an specific number of samples from each class. For example 50.
I thought of using K-means to cluster 50 samples from each class.
What other methods have you used?
Thank you
|
I am using Matlab's lassoglm function to select the best logit specification from a set of 25 covariates. I am using time series data and have around 500,000 observations.
My CV plot shows the error decreases monotonically with lambda (graph below). Any idea why this could be? My covariates are significant predictors i... |
In the paper A Consistent Test for Multivariate Normality Based on the Empirical Characteristic Function, Baringhaus and Henze define a test statistic,
$$T_n = n \int_{R^d} |\frac{1}{n} \sum_{i=1}^n e^{it'Y_i} - e^{-\frac{1}{2}|t|^2}|^2 (2\pi)^{-d/2} e^{-\frac{1}{2}|t|^2}dt$$
and state that the integral is
$$ \frac{... |
I have a dataset that has 10 columns (which are nominal but contain data that is continuous) and 20 rows which are the discretized version of an age distribution (i.e., years). I want to test whether or not there is a difference between the columns (countries) across the ages. In other words, are the countries homogene... |
Let $Z_{1},\ldots, Z_{n}$ random variables i.i.d with symmetric continuous distribution in $\theta$.
We consider hypothesis test
$$\begin{array}{rcl}
H_{0}: && \theta=\theta_{0} \\
H_{a}: && \theta>\theta_{0} \\
\end{array}$$
Let $T_{\theta}$ be a statistic, and let
$$\alpha=\mathsf{P}(T_{\theta_{0}}\geq c | H_{0} \mb... |
I have a univariate time series of quarterly data. I am interested in making both quarterly and yearly predictions using ARIMA/SARIMA. The quarterly prediction is just one step ahead while the yearly prediction is 1, 2 and 3 years ahead.
My question is if I should aggregated the data to annual for the annual predictio... |
$\newcommand{\E}{\mathbb{E}}$When working through the derivation of $\E[x]$ in the case where $x$ is a log normal random variable, it seems to me that the result depends critically on what you choose to substitute when doing u-substitution in the expected value integral. If I substitute $\ln(x)=u+\mu$, which seems to b... |
I'm running a multiple logistic regression with several continuous and categorical covariates. I was wondering how to interpret the results of each covariate if the others are held constant. At what level are continuous control variables held? Are they held at their mean?
I believe that for categorical control variable... |
I try understand the difference between prediction and confidence intervals. Say we want to predict the winning time of the 100 m race in the Olympics 2020. We have fitted a linear regression model of times from 1900 to 2016 and we want an associated 95 % confidence interval of our prediction time. Would we use a predi... |
I am working my way for the first time through predicting a continuous dependent variable in a problem where all independent variables are categorical using python statsmodels. I would like to add to this model 'y ~ + C(x1) + C(x2) + C(x3)' all possible quadratic terms. What is the right notation for that?
EDIT: one of... |
This question comes from a discussion on reddit.
One user asked a question:
Given $p=0.05$ in one study, what is the likelihood of $p \ge 0.05$ if the same study was repeated under the exact same condition in the same population?
With a set of possible answers: 5%, 10%, 50%, 95% and 99%.
The most common and most acc... |
The scenario is follows: Two groups of participants are asked to recall the stimuli presented to them. Group A are presented with both types of stimuli (imagery) on a tablet whereas Group B are presented with both types of stimuli on a computer. Two types of devices (computer and tablet), and two types of imagery (b... |
I have a dataset about a group of people that was collected in two consecutive years (2013 and 2014). This dataset have several variables and one of them is income.
Make sense do a hypothesis test to compare the mean income of the same group of people in two different years?
In this case I have data of the same populat... |
Is there a way to detect outliers in data that would fit a non-linear shape? For example, I have data that fits an exponential decay with an obvious outlier. I have simulated data with an example of this:
I want to know the index locations of where these outliers occur in the real data and currently I am doing this by... |
Suppose we have the following count data:
| X | Freq |
|-------|------|
| 0 | 18 |
| 1 | 32 |
| 2 | 17 |
| 3 | 10 |
| 4 | 5 |
| 5 | 2 |
| TOTAL | 84 |
We want to construct a likelihood ratio test to see if a Poisson distribution is suitable to describe the data. The like... |
Suppose one has a GLM, say logistic regression, y~x1+...+x8, where y is a binary variable. In my particular problem-space, y represents a customer defaulting on a loan. Half of the predictors are individual customer data (say x1-x4) and the other half (x5-x8) are macroeconomic variables, possibly with some multicolline... |
I'm confused on the special cases for some distributions and i'm looking for some clarity.
I know that the standard normal distribution is a special case of the normal distribution with a mean of 0, standard deviation of 1 and that the skewness and kurtosis of any normal distribution is 0 and 3 respectively.
What i'm... |
Here is my case.
There are like 1000 monitoring sites which measure CO2 concentration continuously.
I define two period: 1950 - 1970; 1971 - 1991 and compute the average concentration of these period.
Since the variation of all sites are different (some increase, some decrease)?
How to ensure the increase of CO2... |
Suppose your significance level is 0.05, and some coefficients are significant and others are not (i.e. some of the p-values are less than 0.05 and others are greater than 0.05). Does this give anything about their importance in relationship with the outcome variable? In other words, do non-significant variables indica... |
I have the following code I am trying to figure out the distribution which it is sampling from and I need to be able to write a function to generalize sampling for this distn for any N.
set.seed(12032345)
N <- 300
x <- runif(150, 0,1)
x <- c(x, rnorm(150, 0, 1))
x <- sample(x, N, replace = FALSE)
My approach: To me it... |
I am trying to produce a NN algorithm to classify the species of Iris into three species (versicolor, virginica, setosa) - preferably in R.
The scaffolding / source is this code in R with ReLU activation of the hidden unit and softmax. The question is code-neutral, and an alternative source is this post in Python, pro... |
The convolution of $f$ and $g$ is defined as
$
(f * g )(t) \, \stackrel{\mathrm{def}}{=}\ \int_{-\infty}^\infty f(\tau)\, g(t - \tau) \, d\tau
$.
Let's say that $f(t)$ and $g(t)$ have units of, say, meters and Hertz, respectively. What units does the convolution $(f * g )(t)$ have?
|
I need to find MLE estimator of $P(X \leq c)$ where X is $Normal(\theta,1)$, c is fixed. Note: $X_1,...,X_n$ are a random sample drawn from $Normal(\theta,1)$
Any hint on how to approach this problem? I know MLE is invariant and I thought of using the sample mean as my estimator of $\theta$ but I dont know how to find... |
Edit after @eric_kernfeld answer.
I'd like to do
Generate a time-series, for example, from a uniform distribution.
Transform of non-normal variable to standard normal distribution.
Fit an arima model to standard normal variable.
Simulate from the arima model with the fitted parameters (in this case errors should be ... |
Let $x_1, x_2, x_3$ come from a normal distribution with mean 0 and standard deviation 1.
Let $m=\frac{x_1+x_2+x_3}{3}$ and $s=\sqrt{\frac{(x_1-m)^2+(x_2-m)^2+(x_3-m)^2}{3}}$.
What is the distribution of $\frac{\textrm{min}(x_1,x_2,x_3)-m}{s}$?
I am also interested in the distribution of the z-score of the $k$th lowest... |
Let's say that you have a list of numbers and a weight for each number e.g.
X = [(1, 2342), (2, 55), (3...]
In the above example, 2342 and 55 are weights.
Is weighted random sampling N items from X equal to randomly splitting X into N equal partitions and weighted randomly sampling 1 item from each part?
|
I am doing a study to find the correlation between onset-age-of-diabetes and BMI Z score. Our study found these two variables negatively correlated. This association is a bit controversial in literature as some of the studies found it positively correlated, others negatively correlated and no correlation at all.
We ass... |
Suppose I'm use a random forest binary classifier in R.
What parameter(s) can I tweak in my learned model (or model to be learned) that can help me with this tradeoff.
for example: In logistic regression I would change the threshold on the probability the classifier predicts.
How do I so something similar with randomfo... |
I have dependent variable ( Y) is in continuous.
My independent variables ( X1 , X2 , X3, X4, X5, X6, X7, X8) are in continuous.
And independent variables ( X9 , X10 ) are categorical variables.
In X9, there have 3 levels ( TV , News Paper , Radio )
In X10 there have 2 levels ( High Addicted , Low Addicted).
So, How ... |
I have a data frame. Lets say the data looks like this-
A <- c(1,2,3)
B <- c('a','b','c')
C <- c('d','e','f')
df <- cbind(A,B,C)
Now I would like to convert this data frame into a corpus where each column is treated as a document and each row as a term. When I use Corpus(VectorSource(df$A), it convert the column in... |
Consider data consisting of pairs $(y_i, x_i)$ for $i = 1,..,n$ arising from a non-linear regression model:
$y_i = \alpha + \beta\sin(\omega x_i + \delta) + \epsilon_i$ where $\epsilon_i \sim N(0,\sigma^2)$
and $\alpha, \beta, \omega, \delta,$ and $\sigma^2$
are all unknown parameters.
This can be rewritten as:
$y_i =... |
If Yi (i=1,2,....n) are normally distributed with common variance v then consider the contrast
C = Sum(AiYi) such that
Sum (Ai)= 0
Now i know that C^2/Sum(Ai^2) is a vchi sqare with one degree of freedom but I cant prove it ..is there anyone who can show me the proof
|
As the title implies I am having difficulty differentiating between the correlation matrix and the cross correlation matrix with reference to time series data. Could anyone enlighten me please? Is the only difference that the cross correlation uses a sliding window to calculate the correlation over time whereas the cor... |
I am performing stratified random sampling on a population (country) containing ~20 strata (states). I need to calculate mean of the population. I also know the proportion of the strata. My question is: Should I have a minimum sample size (say >=30) in each strata/state? I have greater than 30 samples for the country, ... |
I know that the joint cumulative function of two random variables X and Y is defined as:
$F_{X,Y}(x,y)=P(X≤x,Y≤y)$.
How can I find the CDF for $F_{X,Y}=\{x,x\}$. In other words is what will be $Pr\{min(X,Y)<x\}$?
If I already know the individual CDF of both $X$ and $Y$, i.e. $F_{X}(x)$ and $F_{Y}(x)$, can they be use... |
I have two samples
background
and
input
these are the histograms:
sample sizes are well above the 1000s, so the sample variance of the mean is pretty much low.
I'm trying to have a statistic that tells me that these two distributions are the same. I'm trying with t-test and Mann-whitney U but both have VERY low pvalu... |
I have a question about using SVM regression in matlab. My training data set has a distribution like gaussian (below figure. A lot of data in 0-5, only few data >5). I separate this dataset into 2/3 for training and 1/3 for validation. They follow the same distribution
.
The function I used is like this:
fitrsvm(Xtrai... |
I've created a sketch of a chart that combines a line graph with pie charts at each point on the line graph. I want to know if there's a standard name for this type of combined graph. I have tried various keywords in Google search but haven't gotten any satisfactory results. Ultimately, I want to find a library to buil... |
This is rather a conceptual question, than technical. I am interested in performing a rolling (sliding) window analysis, where I aim to predict a label ('0' or '1') of the next value of my time-series. For example, consider the time-series data and the array of labels:
(I work with Python and sklearn)
ts = array([11, ... |
Is there an analytic solution/approximation to the PDF/CDF and mean of an harmonic mean of random variables? I'm wondering about beta distributions ($\beta$) or truncated exponential distributions ($E$)?
Generally, what is the PDF/CDF and mean of
$X = \dfrac{n}{\sum_{i=1}^{n}\frac{1}{\beta_i}} $
or
$Y = \dfrac{n}{\sum... |
I would love to compare 9 multinomial (4 point likert) and 2 binomial (yes/no) measures across two independent groups but I am not sure what test is most appropriate. Treating the group as the independent variable and the likerts as the dependent variables seems to very much lend itself to a MANOVA with post-hocs but ... |
I am fitting several models of the form..
glm(DV ~ I(1/IV), family = Gamma(link = "log"))
.. and am looking for ways to compare the models obtained for different variables. I am wondering if the alpha value is of any practical use?
For the three plots below the alpha values are 17.85, 9.03 and 6.27. Do these values co... |
I am working on early student intervention model where I need to predict at risk student. However, the values of the variables in the test data change so as the prediction for that record.
For example a student's performance in a subject improves after a month, as measured by a test score, which earlier was not good. ... |
I want to predict to which product category a product belongs. A total of 400k products need to be translated from the old (less refined) to the new product category tree. (E.g. alarm clock used to fall under 'Electronics' and will now belong to 'Alarm clocks'.) So far 36k products have already been partly allocated to... |
Let's say I am trying to compare average scores between three different groups. Group A contains 20 cases, group B contains 40 cases, and group C contains 300 cases.
What I originally wanted to do is weigh the cases so that each group receives equal representation, based on this:
Total cases = 360
Subgroups = 3
Weight ... |
I wish to do a study on the similarities and differences in ACF/CCF coefficients of a collection of stock market indices. I've mostly taught myself the process which I've outline below so any guidance on misinterpretations and/or wrong intuition would be greatly appreciated.
Approach:
My understanding of (one of) the ... |
I have read that Cross-loadings of below .3 are often ignored! Can I have some reliable references to back this up please?
I have read exisiting work and authors tend to make this decision without supporting their decision!
|
I am confused with the definition of non-parametric model after reading this link Parametric vs Nonparametric Models and Answer comments of my another question.
Originally I thought "parametric vs non-parametric" means if we have distribution assumptions on the model (similar to parametric or non-parametric hypothesis... |
I'm trying to derive a specific relationship about the relationship between forwards and futures. The expression is from the paper, "The relationship between forward and futures prices", written 1981 by Cox, Ingersoll and Ross, if any one is interested. Basically, they go from:
$$ -\frac{1}{B(t)}\sum_{i=t}^{T-1} \left... |
Suppose one has $N$ sensors labeled $1,2,3\dots$ arranged in an equally spaced grid.
For each point you have a measurement that can vary in time $X^{i}(t), i \in {1,2,3\dots}$. The point $A$ needs to be classified with ON/OFF labels. If, at time $t_1$, $X^i(t)$ varies, it might also influence the measurements of the n... |
Forgive me if this is the wrong place for my question. My question is, I hope fairly straightforward. Although I am using Rstudio and the TM package, I think my question is more about the math behind the TFIDF score and is similar to an older question (Typical range of values for TFIDF) but the answer was only partial.... |
I have variables with factor loadings similar to each other (PCA - Varimax). For example 0.536 and 0.602 etc. Please see the example: Self direction_10.
I have read that I can remove such variables. In my case I have done so and I got much clearer factors.
Is there any reliable reference to support this decision?
I hav... |
I have a levy distribution parameters obtained for a set of data. I want to know an easy way to calculate the parameters for a new data set obtained by multiplying all the elements in the initial data set by a constant(say C).
$new data = old data * C$
parameters for the old data
$\alpha_1$ , $\beta_1$, $\gamma_1$ and... |
I have learned from this site (see question here), and from Frank Harrell's Regression Modeling Strategies that generally speaking one should not remove variables because they are insignificant. I was passing on this wisdom to another modeling who claimed that unless there were significant multicollinearity present, re... |
I have a large dataset describing numerous customers' behaviour and I am trying to solve a binary classification problem with a null accuracy on 90% (90/10 distribution amongst the two classes).
Given that I have computational limitations and thus are forced to take a subset of the sample, would it make sense for me to... |
I'm try to study the correlation-based feature selection (cfs) form http://www.cs.waikato.ac.nz/~mhall/thesis.pdf but I'm not sure the relation between cfs and Symmetrical uncertainty (SU) theory, If I calculate the value of correlation, then I need to calculate the value of SU?
I don't understand how to choose number ... |
Suppose that you have a model in which you want to perform uncertainty propagation. For example, consider a model of temperature in an area of the world. To simplify, in this model, Temperature will depend only on the presence of trees and of altitude.
Some of the inputs are continuous as altitude and some are discrete... |
Consider Markov Chain Monte Carlo (MCMC) to sample from the posterior distribution of some unknown parameter $\theta$:
$$P(\theta|X) \propto P(X|\theta)P(\theta)$$
Where $X$ is the observed data, $P(X|\theta)$ is the likelihood function and $P(\theta)$ is the prior distribution.
My question concerns the case where an e... |
I'm aware of the documents "an introduction to rgp" and the online documentation to rgp, but I still have an unanswered question.
Is it possible to limit the number of used variables in the created model? I'd like to used as input data observations (y data) and a dozen of variables. I'd like to find a mathematical rela... |
I am struggling to find a valid syntax for a (mixed?) model.
Given the following data:
> str(raw)
'data.frame': 69 obs. of 5 variables:
$ sp : Factor w/ 9 levels "sp1","sp2","sp3",..: 1 1 1 1 1 1 1 2 2 2 ...
$ group : Factor w/ 3 levels "group1","group2",..: 1 1 1 1 1 1 1 1 1 1 ...
$ response: num 0 ... |
I am confused about one part in the EM example for a bivariate normal distribution in the book by deGroot & Schervish (Example 7.6.15).
The part I do not understand is where the authors claim that the "conditional mean of $(X_{4,2} - \mu_2)^2$ would then be $212.8 + (193.3 - \mu_2)^2$."
I suppose by the "conditional me... |
Context: Let there be a loss function $L$ that measures the performance of a model. Perhaps the $L_2$ loss: $L(y,w^T x) = (y - w^T x)^2$, for simplicity I take a linear model ($w^Tx$) but it could be any model. $y$ is the output we wish to predict. Assume there is a probability distribution $P(x,y)$. Perhaps the model ... |
I have a dataset containing a hobby project of mine: http://pastebin.com/y540VP1U It is a table (space separated)
id track driver vehicle km_h standard_vehicle_km_h
L25 LosSantosGP StarlaLeyba Verlierer 134.40 142.01
L26 LosSantosGP YolandeApodaca Verlierer 134.24 142.01
L27 LosSantosGP T... |
I have a data set for which I would like to build a predictive model, and it contains quite a few features where most of the data is missing. The feautres are also highly correlated pair-wise and I would like to do some feature-selection scheme or apply PCA to reduce the dimensionality.
The missingness looks like this ... |
I'm working on a conservation project that will soon release ~10 endangered fish that were bred in captivity into a pond. We're hoping this pond serves as a temporal home for a few years, while their natural, polluted habitat is restored. A previous observational study suggests that their spatial distribution within th... |
In a machine learning course, I learned that one common use of PCA (Principal Component Analysis) is to speed up other machine learning algorithms. For example, imagine you are training a logistic regression model. If you have a training set $(x^{(i)},y^{(i)})$ for i from 1 to n and it turns out the dimension of your v... |
https://cran.r-project.org/web/packages/survival/vignettes/timedep.pdf
I've been following the vignette on implementing time dependent coefficient in addressing non proportional hazards in a cox proportional hazard model.
I'm specifically following section 4.1 in regards to the Step function and is having a hard time ... |
Let's say I have two sets of paired points $\{x_i\}_{i=1..n}$, $\{y_i\}_{i=1..n}$ defined in an $N$-dimensional space and I want to use the Kabsch algorithm to estimate the best rotation matrix / translation vector that transform each point in $\{y_i\}_{i=1..n}$ into its corresponding version in $\{x_i\}_{i=1..n}$ by s... |
I'm trying to find or develop an algorithm that will identify a missing state in a Markov Decision Process.
For example, if we initialize the chain with state:
$$0 \to 0 \to 0 \to 0$$
but the system can be better modeled by:
$$0 \to X \to 0 \to 0 \to 0 $$
where $X$ is an additional state not created or known by the m... |
what is the theoretical basis of Pillai's trace test statistic? I haven't found any in-depth treatment of it online.
|
Background: I am trying to show that my method is as good as or better than a previously published work in the field of Automatic Speech Recognition.
Usually, in the literature people usually report the word error rate (what fraction of words the recognition system got wrong) on a few sets of utterances and that's it.... |
I have a quantile regression in Stata which I'd like to replicate in eViews. While the coefficients are the same, the standard errors are different (irrespective of the method I use to compute the covariance matrix).
In Stata I use default options, while I've varied the cov-option in eViews.
The commands are:
Stata -> ... |
I have a data frame of all categorical variables (around 24) with each factor variable having multiple levels. Now I have a column which categorizes all observations into High, Low or Medium. I want to understand the statistical difference between the groups in terms of the variables and their levels. Small theoretical... |
I am comparing two feature subsets using a linear regression on a dataset. I want to see whether feature subset 1 can generate better (more accurate) linear regression models than feature subset 2.
Currently, my method is that I shuffle the data several times (say 1000 times). Each time, I use a 5-fold cross validation... |
I have sale data for 3 years by week.I need to predict sales for the next year by week.
The business requested that some categorical values and numeric values (so for example category, product quantity offered and amount of weekly traffic) are included as coefficients that they can change for next year and accordingly ... |
When using word embedding for classifying documents from a specific corpus, is it better to use word embedding that was trained on this specific corpus, or word embedding that was trained on a wide generic corpus?
Based on my intuition, and some experiments the a wide corpus appears to be better, but I'd like to know i... |
I have 22 patients with certain symptom (have(yes)/don't have(no)) before and after treatment. Is it logical to find difference between having or not having the same symptom after treatment? For example: 18 had a symptom and after treatment just 4 have that symptom. So is there a statistically significant difference be... |
From what I've read, theoretically both cases are very different.
In a mismeasured variables case, we're dealing with a error measurement models.
In a model inadequacy case, it's the model itself that isn't suitable, and we should either add an extra term to correct that inadequacy, or use a different model altogether.... |
I have the following setup for a Finance/Machine Learning research project at my university:
I'm applying a (Deep) Neural Network (MLP) with the following structure in Keras/Theano to distinguish outperforming stocks (label 1) from underperforming stocks (label 0). In the first place I just use actual and histrorical v... |
I have repeated measures of a continuous variable and a nominal variable (with 3 categories) measured across 4 time points. Does any one know any software program package that can be used to run a cross-lagged model with this type of data structure?
|
I am testing the applicability of one futures pricing model. As part of the analysis I am calculating differences between actual prices and the prices suggested by the model. After calculating this "mispricing series" and providing basic summary statistics, I would like to test the statistical significance. However, I ... |
I am a freshman with Bayesian lasso. I searched online and found that the only package I can use is monomvn. There's only one example about diabetes data in its R document. However, the parameters set in that example is quietly simply. Just "blasso(x,y)". I tried to follow this but when it comes to my data, all coeffic... |
As sample size increases (for example, a trading strategy with an 80% edge), why does the standard deviation of results get smaller? Can someone please explain why standard deviation gets smaller and results get closer to the true mean... perhaps provide a simple, intuitive, laymen mathematical example.
|
I'm interested in finding the minimum and maximum of a particular distribution. However, I don't have a model/function of the distribution, but I can generate at random samples from this distribution.
Here is my issue. I know that my method of generating samples explores the entire space of the distribution. That is... |
I find SRIMA model (0,1,1)*(1,1,1)[12] to fit my time series model but i don't know how to write the model with mathematical way. I need help.
|
For an assignment I am supposed to check whether two samples follow the same distribution. The task is basically "Generate two samples with n=40 from the same distribution (1000 times). Use KS and Chi Squared to test if they both follow the same distribution. Calculate alpha and beta."
The KS test is straightforward, I... |
I am trying to create a SOM map based on records with different discrete classifications (tags) like the example below
Record Tag1 Tag2 Tag3 Tag4
3555 1 0 0 0
6447 1 0 0 0
5523 ... |
I have different number of measurements from various classes. I used one-way anova to see if the means of the observations in each class is different from others. This used the ratio of the between-class variance to the total variance.
Now, I want to test whether some classes (basically those with more observations) ha... |
I have been thinking about the following problem that is often given in introductory bayesian text books. Suppose we have a medical procedure that tests for the presence of some disease. We want to find the posterior probability of
$$P(D+|T+) = \frac{P(T+|D+)P(D+)}{P(T+)}$$
where $D+=$ positive for disease and $T+=$ p... |
Suppose the outcome variable can take on 3 discrete values that are not ordinal: (e.g. 1 - weekly, 1- quarterly, and 3 - annually). If for each subject, there are multiple outcomes, would multinomial logistic regression still be favorable to use? For example, suppose the data looked like this:
id outcome
1 ... |
I have daily mean temperature values for every day of every month for 90 years.
I want to figure out:
"SD$_m$": the standard deviation of daily temps across all days in a given month, for each month
"SD$_{yr}$": The standard deviation of monthly means for a given year, for each year.
My question: Do I use sample [s] ... |
I am a bit confused, as it seems like my teacher has told me something different than what I see and hear on YouTube videos.
My problem is as follows:
My teacher told us to that the probability when deciding the root of the decision tree needs to be as close to 50% as possible. So, let's say we have this table:
My tea... |
In a recent colloquium, the speaker's abstract claimed they were using machine learning. During the talk, the only thing related to machine learning was that they perform linear regression on their data. After calculating the best-fit coefficients in 5D parameter space, they compared these coefficients in one system to... |
I am looking for a variable selection method for linear regression. I have 25 correlated independent variables and one dependent variable that is an aggregated score of a Likert scale. I also have 90 samples. I tried LASSO with AIC and BIC but the suggested alpha from a 5-fold cross validation doesn't reduce the regres... |
I would like to perform some black box testing on some software that takes a large number of input variables. These variables can have some interactions (either intentional or non-intentional) so I would like to test a large number of combinations of them and then compare them to the output of another piece of software... |
I have a repeated measured dataset, which confused me a lot. I'm a newer to statistics.
The experiment design:
Feeding a kind of small animal with Food type (three) *Food concentration (High Medium Low) and cultured at different temperature(three), and I measured the size with time (six times).
The dataset:
**foodtype*... |
I have to find the spectral density function, (notice: the problem clearly states that I'm looking for the spectral density function, not the spectral distribution function) of the following process:
$$X_t=Acos\left(\frac{\pi t}{3}\right)+Bsin\left(\frac{\pi t}{3}\right)+Y_t$$
Where A and B are non-correlated, and A an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.