instruction stringlengths 9 38.7k |
|---|
I'm running some ensembles of several algorithms and I'm trying to establish possible rules for the final classification process.
Right now if have the class probabilities from 3 models. Its a binary classification so, in each prediction i have two columns
Class_1
Class_2
And each row has the probability for both cla... |
I'm trying to proof identification for the following system of $N$ equations:
$$ y\times(1-\sigma) = x^{(1-\sigma)} - 1 + \alpha \times ( z^{(1-\sigma)} - 1) + \beta \times ( w^{(1-\sigma)} - 1) $$
the roman letters are data (strictly positive and finite numbers), while the greek letters are the parameters to be identi... |
I am helping a student with stats homework. This stuff was about 20 years ago for me.
............
Assume that the number of nucleotide base substitutions in a gene over a certain time period follows a Poisson distribution. Assume that the probability of there being no nucleotide base substitutions over this period i... |
I have a very simple binary decision tree trained with a depth of 2 as shown below. There are two labels (e.g. a, b). For example, In the root node, there are Na samples labeled as a, and Nb samples labeled as b. The same naming convention goes with variables in the two children nodes.
My goal is to obtain a probabili... |
I am learning about ensemble classifiers and on a lot of websites and books, they all state the assumption that the classifiers are independent and the error rates are not correlated. The error probability is then calculated by
However, is the binomial distribution the only probability distribution that can be used? ... |
So I have 5 variables which have the RMSD equal to let's say 100.
If a sixth variable is introduced which is equal to the mean of the first 5 variables then how can I calculate the new RMSD?
|
I want to get a equation of hyperplane in SVM classifier using Matlab in the case of linear separable data which is the easiest case. Actually I do not want to use Kernel function.
Is there any way to find the equation of hyperplane in matlab?
|
What is the difference between (1) and (2)? Why does $\theta$ (theta) have a negative sign in the ARMA model?
$$
\begin{align}
\hat y_t &= \mu + \varphi_{1} y_{t - 1} + \cdots + \varphi_{p} y_{t - p} - \theta_{1} e_{t - 1} - \cdots - \theta_{q} e_{t - q} &(1) \\
X_t &= c + \varepsilon_t + \sum_{i = 1}^p \varphi_i X_{t ... |
Imagine that
$$ X_1,\dots,X_k \sim \mathrm{Dirichlet}(\alpha_1,\dots,\alpha_k) $$
Since $x_i \in (0,1)$ for all $x_i$ and $\sum_{i=1}^k x_i = 1$, then $x_i$'s follow the first two axioms of probability and Dirichlet can be (and is) used as "distribution over distributions". Intuitively it should follow that
$$ X_1,\dot... |
I want to evaluate to predictive models based on their predictive likelihood. In a standard framework I would proceed as follows:
The two models predict $y_{t+1}$, whereas model one is based on assumption
$$y _t \sim \Pi_1(y_t |\Theta_1)$$
and model two is similar with a different set of parameters
$$y _t \sim \Pi_2(y... |
I'm afraid I'm going to show my statistical ignorance here. I am looking at the number of times a gene is identified in a network analysis. Or another way, I'm looking to see if there are a couple of genes that are over represented in all the pathways identified by my analysis.
The result of this is shown below, but to... |
I'm looking at the relationship between a set of IVs and one DV, measured at two different points in time. I want to know if the relationship is stable over time, that is, if the IVs predict the DV the same way at both times.
I've got a regression equation at each time point. How do I analyze the similarity or differen... |
What are practical scenarios where consistency will fail and which assumption/s that is/are violated?
Is this due to an inherent fault in sampling the data or in the data-generating process? Can I fix this with strategies to avoid an inconsistent estimator in such cases?
|
I am unsure whether I have to correct for multiple testing in my case. I have symptom severity ratings for several (9) symptoms across 3 time points (pre, during, post). I want to test whether "during" predicts "post" over and above "pre". So I´m comparing regression models. I do that for each symptom separately. Since... |
In the design of experiment in Agricultural research (I seek in particular that of Plant Breeding), common practice is that each experimental unit corresponds to one observation in the dataset. But, is it possible to use each sample (samping is done within a plot) on its own as individual observation by adding another ... |
I am using prop.test in R to test if two proportions are equal and if not, which is bigger. (I'm not sure if it's pertinent to the problem, but as you can see the proportions are very small.)
I am trying to understand why I am getting an extremely small p-value for two different alternative hypothesis for two identical... |
I'm simulating the travel times of trucks moving between two points. The time it takes them to reach their destination is dependent on a few variable so it never the same. I need to compare the simulated travel times to historical data to show the simulation accurately portrays the real world system.
My question now i... |
I'm trying to measure the level of significance of devoiced vowels in different linguistic contexts; whether or not certain contexts cause vowels to be devoiced.
Basically my data right now is a table with the contexts in the horizontal line (4 of them), and speaker on the vertical (speakers are not a variable, I just ... |
I want to create a regression model that not only predicts the value of interest, but also outputs an estimate on how accurate that value is. With expectation that for some feature values model will be more certain about the prediction, and in another cases less.
A toy example: given that someone's height is $2$ meters... |
This question is based in this other question that I asked Cox Model and proportional hazards , but are different things.
What I did first is check for which variables the proportional hazards assumption is met, then I saw that all the variables violated the proportional hazards assumption. In this case the alternative... |
I hope this has not been asked before.
I have got data(my prediction variables) of 3 populations of individuals, A,B and C. These individuals can be described as:
A is the part of the risk group showing symptoms,
B is the part of the risk group not showing symptoms, and
C is not a risk group and does not show sympt... |
In a LSTM block we have:
The input
The output
The hidden state
The hidden state is transmitted to the next time step. But, according to this image from Colah's Blog:
an LSTM block transmits to the next time step both the output and the cell state.
So, what is the hidden state ? Is the cell state? Is a concatenation... |
The question is phrased a bit awkwardly probably, but let me explain it in more detail.
I am using feedforward neural nets with one hidden layer to model a variable of interest. I have a set of inputs with different physical meanings. I want to train several neural nets with different inputs, say M different input set... |
I have used DESeq2 package (version 1.12.3 with R 3.3.1) to identify differentially expressed (DE) genes between two groups of cell culture samples, 3 treated and 3 controls.
Considering adjusted pvalue<0.01 as cut-off, there are about 2500 DE genes. Some genes have very high fold changes (i.e. over 20 genes with log2(... |
My question concerns ways and tools of how to estimate the "weight" or the "importance" of a certain part of a class in binomial distribution.
Lets say I have a colony of bacterias, some of them have a positive response on a certain reagent, the remain bacterias - negative. I consider a bacteria as a sum of certain ch... |
We have been using a GMM to fit gaussians over a set of ~ 3M vectors.
Now the input are not vectors but probability distributions (coming from a topic model like LDA). Is it still mathematically sound to fit/train a GMM over such input?
|
I am still a rookie at statistics. I am writing a report on crimes and how they affect economic prosperity. I have yearly data for 30 years from 1 country, where number of crimes in a year is my independent variable and GDP growrth is my dependent variable. I have 3 other control variables as external invtment, total ... |
I'm currently working on a dataset and I'm using the AIC criterion with the function step in R to achieve variable selection. Doing so, my model has reduced from 48 variables to 24 variables:
Residuals:
Min 1Q Median 3Q Max
-2576.8 -190.4 -93.8 33.4 15548.2
Coefficients:
Estimate S... |
I've got a very small coefficient (-0.04) and R-squared (0.028) but a significant P value (<0.0001). My question is:
Is my result still meaningful?
How to interpret it?
The result is from a linear regression model in a big database in R.
The independent variable (B) has more than 200 values, whereas the dependent va... |
I have a continuous variable (say, sales volume) that I measure for multiple firms over a time period of ten years (but I do not have data across the full ten years for all firms, some drop out, some enter my sample). I want to show that, for each of these firms, there is not a lot of variation in this continuous varia... |
I want to estimate the mean and variance of a gaussian random variable $X$.
The realizations of $X$, i.e. $x$, are not observable. Instead, $a$ and $b$ are observed, which are related to $X$ via
$P(x \geq a+n)= b$,
where $n$ is an unknown small noise term.
How can I fit $X$ to a gaussian distribution by using a coll... |
I'm trying to "reverse engineer" a statistal model used in this article: ACTIVLIM : A Rasch-built measure of activity limitations in children and adults with neuromuscular disorders
In this article a common measure of activity limitations for both children and adults with neuromuscular disorders was developed using the... |
We're doing repeated testing on 10 dependent variables for differences between groups of 5 independent variables. I'd like to use the Benjamini-Hochberg procedure to control the false discovery rate, but am unsure what to consider a family of tests. Are all 50 tests a family? Or are there 10 families each consisting... |
Are adaboost and gradient boost models highly correlated? Will including both the above models in ensemble improve accuracy significantly?? Because if the models are uncorrelated in the ensemble they will give a very high accuracy!!
|
Can anyone show how to estimated the π of the zero-inflated-Poisson?
f(y)=π+(1−π)e^(−λ), if y=0;
=(1−π)λ^ye^(−λ)/y!, if y=1,2....
where π is the probability that the observation is zero by a binomial process and λ is the mean of the Poisson.
I use zeroinfl to get the estimated coefficients, but I do not know how t... |
Assume I have one variable X that I experimentally manipulate, and then measure the corresponding values obtained for another variable, Y. Assume also that the two variables are both measured along the same scale (units).
Why is only regression - but not correlation - an appropriate tool to quantify the effect of X on ... |
R Library: Contrast Coding Systems for categorical variables, says we can use orthogonal polynomial for ordered factor encoding which the levels are equally spaced.
I do not understand why (mathematically) and intuition behind it. Could anyone explain it to me?
Does polynomial encoding have any relationship with polyn... |
So I have a small question about forecasting using an AR(1) model.
I have
$Y_t=4-0.6Y_{t-1}+e_t$ with {$e_t$} as W.N. with $\sigma^2_e=2$
I am asked to forecast $\hat{Y_t}(1)$ for which I am using the following equation...
$$\hat{Y_t}(1) = \mu + \phi*(Y_t - \mu)$$
where
$$\phi=-0.6$$
$$\mu = \frac{4}{1-\phi} = \frac{... |
I am fairly new to using the caret package and ran into a question about the trainControl function. I have a model linear regression model where I used
train(x,y,method="glmStepAIC")
If I leave the script like this I get an R2 of roughly 22%. When I add
trainControl(method="cv")
So we now have...
train(x,y,method... |
Suppose that we generate many pairs time series that follows a bivariate normal distribution with a known correlation rho. What is the distribution of the correlation once the x and y are smoothed with a simple moving average of window size n?
I ask this question because often I see pairs of times series whose correlat... |
First it was Brexit, now the US election. Many model predictions were off by a wide margin, and are there lessons to be learned here? As late as 4 pm PST yesterday, the betting markets were still favoring Hillary 4 to 1.
I take it that the betting markets, with real money on the line, should act as an ensemble of all t... |
I have 1 continuous DV and 1 categorical IV with 4 levels. I set up orthogonal dummy coding for 3 planned contrasts. I then used the linear model to observe if the planned contrasts are significant.
My question is, do I have to use a Bonferroni correction in this instance? The sites I've read says that it is necessary ... |
I have a one-way ANOVA model with 3 treatments. I have contrasts $\hat{\theta}_1=\hat{\mu}_1+\hat{\mu}_2$ and $\hat{\theta}_2=\hat{\mu}_3-\frac{1}{2}(\hat{\mu}_1+\hat{\mu}_2)$.
I want to do a simultaneous test $H_0:\theta_1=\theta_2=0$.
The two contrasts are orthogonal. How do I do this test? Is it the same as the glob... |
Let $\mu_n = \langle x^n \rangle$ and $\kappa_n$ be the moments and cumulants of a probability density function $p(x)$.
Given a finite number of the moments, $\mu_1, \dots, \mu_N$, or equivalently a finite number of the cumulants $\kappa_1, \dots, \kappa_N$, I want to approximate the probability density function $p(x... |
I need to put together a (likely simulation-based) power analysis of a quantile regression. The analysis should include changing effect size (increasing slope).
In lm() or glm() cases, I used the model's predictions and the variability of the residuals to simulate a response. I can't quite figure out how to do it in r... |
Say that you have a measurement of $x_1$ relative to some globally fixed datum and a covariance for it, $\sigma_1$. If you have another measurement, $x_2$, taken relative to $x_1$ with its own covariance, $\sigma_{2-1}$, how would you evaluate the value of $\sigma_2$ relative to the globally fixed datum?
Would it just ... |
I'm currently working on a dataset and I'm using the AIC criterion with the function step in R to achieve variable selection.
Doing so, my model has reduced from 48 variables to this 24 variables one :
Residuals:
Min 1Q Median 3Q Max
-2576.8 -190.4 -93.8 33.4 15548.2
Coefficients:
... |
There are formulations for the calculus of the sample size based on Agresti-Coull and Wilson confidence intervals for infinite population in some works (like Piegorsch - 2004). However, I didn´t find papers that deal with sample size formulas for finite population. Anyone knows the Agresti-Coull and Wilson sample size... |
I ran a 2 way anova with 2 categorical IVs, i.e. age(young/old) and condition(control/low alcohol/high alcohol/marijuana) and 1 continuous IV. Most critically, here are my p-values on my interaction variables:
conditionLow_alcohol:ageYoung 0.32096
conditionHigh_alcohol:ageYoung 0.11353
conditionMarijua... |
I'm new to statistical analysis and I am using R to analyse the results of a small research project on tree rubbing behaviour in pigs.
I have three groups of pigs in three different pen sizes: small, medium and large.
I recorded the total duration of tree rubbing by two focal pigs in each group, and recorded each group... |
I used bootstrap (N = 1000 samples) to quantificate optimism and subsequently corrected c-index and Somers´ D statistics to select a final model with best predictive accuracy among three "candidate" models. I used then bootstrapping (N = 10 000 samples) on this final model to calculate bootstrapped confidence interval... |
My problem is as follows, I will try to present it succinctly:
I have about 20k sample data with ~12 features and a label (true or false). I can easily use either a regression or a classification type algorithm to get an equation in which I can plug features and obtain a label with some certainty.
My problem however is... |
Suppose I have a data set such like:
set.seed(123)
df<-data.frame(pre=rnorm(10,2,3),
post=rnorm(10,3,2),
type=rep(c("A","B"), each=5))
df
pre post type
1 0.31857 5.4482 A
2 1.30947 3.7196 A
3 6.67612 3.8015 A
4 2.21153 3.2214 A
5 2.38786 1.8883 A
6 7.14519 6.5738 B
7 3.3... |
Lately I've been trying to model the probability of success for an event given it's location. Basically, the data I have consists of locations in x and y coordinates, and a corresponding value of 1 or 0 (indicating success or failure). When I bin the events into boxes and calculate their average success rate for that b... |
I have many measurements for multiple individuals, but I'm not sure how to account for that repeat-measure structure when running a random forest model.
Is there a way to account for underlying data structure of longitudinal data using a random forest model?
Is this even necessary? -- it seems to me that it should be.... |
Suppose, we have a normal linear model given regressor matrix $X$, can one expect a boosted linear model with the same regressor matrix to be have better performance?
I mean the following: I have a normal linear model trained on the train set with, say, $R^2 = 0.95$ and this model has also good predictive performance o... |
As far as I can tell this question has never been asked before. There are several questions that touch on related issues, but none of them have provided a definitive answer to this question.
I have a two-way design (group and time) with repeated measures (baseline + 2 x Post intervention); thus 2 x groups and 3 time p... |
So I was wondering why random forests limit the levels of a variable to 32 levels, and I found an answer here :
R's randomForest can not handle more than 32 levels. What is workaround?
My question is why is the solution 2^N+2 ? I thought it would be the classic combination equation of N choose K, such that if I had 32... |
I had a regression model, with y being the price of car and response variable being the profit. so now, I need to make a decision whether selling 10 cars of 10,000 value will give me a mimimum profit of 20,000 or one 100,000 car. the linearity is positive ie as price of car increaseso the profit increases.
so I took ... |
This is a normal means model: given $N$ i.i.d $y_i \sim N(\theta_i, \sigma^2)$ or equivalently
$$
y_i = \theta_i + \varepsilon_i\, \text{ where }\varepsilon_i \text{ are i.i.d } \sim N(0, \sigma^2)\,,\qquad i = 1, \ldots, N.
$$
I want to estimate unknown $\sigma^2$. Note: the values of $y_i$ appear to be relatively... |
I want some help about the initial conditions for the derivative of a Kalman filter. (Differentiating the filtering equations necessary for the calculation of the gradient of the log-likelihood function based on Kalman filtering: $$\frac {\partial \hat{x}_{0|0}}{\partial \theta_l}\text{ and }\frac {\partial P_{0|0}}{\p... |
I am running a glm model with Poisson Regression and I wanted to know a couple of things.
1) If my model has overdispersion?
2) I am using this model for insurance purposes ~ that is for rating so can I model with all categorical variables / factors or do I need to convert it to numeric variables
3) How can I plot the ... |
Deterministically I calculate my objective by summing situation-dependent response functions:
$$
F(X)=\sum^{n}_{i=1}f_i(x_i)P_i
$$
Where $x_i$ is a vector of parameters, $f_i$ is the response value (a real number) given situation $i$, and $P_i$ is the probability of situation $i$ occurring.
For uncertainty in (i.e. Gau... |
As far as I know, we have deconvolutional layer to reverse the convolutional layer. Is there something like that for max-pooling?
Also, I want to add this reverse max-pooling into an autoencoder, is there any existing example of it?
|
Consider a two-dimensional normal density $N((x_1,x_2)\vert \mu,\Sigma)$ and a one-dimensional normal density $N(x_1\vert\mu',\Sigma')$.
Question: Is the product $ p(x_1,x_2) = N((x_1,x_2)\vert \mu,\Sigma)\cdot N(x_1\vert\mu',\Sigma')$ normal (up to a proportionality constant) and what are its mean and covariance?
|
One way to get a rough idea of the relative importance of the covariates’ contribution to a linear model is to standardize them by their SE and then rank them by the magnitude of their absolute value. Greater magnitude means higher rank means more relative importance.
As I understand, zero-truncated and zero-adjusted m... |
I'm aware that Random Forests are extremely sensitive to overfitting so I'd like to be cautious and make sure I'm checking any outlet possible to avoid it.
I've already split my data into training and test sets but I'm not sure what else to do.
Any information would be much appreciated.
|
Have $ X_{1},X_{2},\cdots,X_{10}$ random sample from a distribution with PDF:
$$ f(x;\theta) = e^{ - (x- \theta) },\, \theta \leq x \lt \infty $$
Know that $ \hat{\theta}_{MLE} = Y = min(X_{i},\;i=1,2,\cdots,10) $
How do I go about finding the PDF of Y?
|
I am interested in data reduction since I have 2 million images I need to classify with an SVM. Each image has 390 features extracted by a CNN. All of the features are floats.
The idea is to produce a subset of say 200 thousand images where I would be able to classify the most representative points on the map.
I am ... |
anyone can help me explane :
I don't understand formula 2. Why transform from formula 1 to 2.
Thank you.
|
This is a follow up to this question. Suppose we have a multiple regression and we can identify suppressor IV (by looking at the correlation between IV and DV and t-stat of IV in the regression). Is there a way to detect which IV or a collection of IVs is being amplified by the suppressor?
|
I have a follow up question to the answers given in the US Election results 2016: What went wrong with prediction models? question. I suspect there is some violation of an independence assumption among the samples taken in election polling.
Specifically, I think that poll results affect the sample population. I thi... |
I have multiple questions regarding the best way of estimating the odds ratios after I have calculated a propensity score.
I am using a complex survey sample with single-stage design (sampling unit = hospitals) and stratification. Weights are assigned per sampling unit (a hospital).
I use Stata 14. My matching is 1:1 n... |
After training a model on the resulting value given some set of features, I would like the model to estimate the probability distribution of the resulting value. I am not interested in classification, I would like the target value to be continuous.
For example, I might have S&P day close, S&P day open, trade volume, da... |
$500$ people are surveyed and $6\%$ said they want full protection of alligators, $16\%$ said they want their complete destruction, $52\%$ said they want them to be relocated, and finally, $26\%$ said they want the alligators to be harvested. Is there a difference between the proportion of people who want alligators to... |
We know that the random variable $Z = \sum_i X_i$ formed by summing i.i.d $X_i \sim N(\mu, \sigma^2)$ with itself $n$ times is $Z \sim N(n\mu, n\sigma^2)$.
Given this knowledge, is it possible to take $m$ samples of $X$ by taking $m$ samples of $Z$, then dividing the samples by $n$? That is, suppose we have $m$ samples... |
Which inter-rater method is most suitable for data which is measured in interval scale?
I have data which are measured in percentages.
e.g.
Rater 1
A: 50%
B: 20%
C: 11%
D: 9%
E: 10%
Rater 2
A: 50%
B: 20%
C: 10%
D: 10%
E: 10%
I have two raters rating how much A B C D E..... are accounted for in a study. In the example... |
I am trying to show that Pareto distribution with $$f(y;\alpha)=\alpha y^{-\alpha-1} $$ is exponential dispersion (ED) family which means that it can be rewritten as:
$$f(y;\theta,\phi)= \exp\left\{\frac {y\theta-b(\theta)} {a(\phi)} + c(y;\phi)\right\}$$ with $E[Y]=b^{\prime}(\theta)$ and $Var[Y]=b^{\prime\prime}(\the... |
I am new to ARIMA models, and I am playing with R trying to find a good ones... But so far my plots have been not even close to look like white noise...
Could you please give me some advices regarding these ACF and PACF plot?
ACF of the original time series compared to the ACF of the first difference of the data:
PACF... |
Consider a process in which someone is asked to do a task and iff they succeed, they are allowed to repeat the task. Let $X$ be the number of times the task is successfully completed and suppose that different attempts at the task are iid and the probability of success on any one attempt is $0 \le \theta \le 1$.
$$
\di... |
I am a beginner stat learner and recently I've been reading Introduction to Statistical Learning with Applications in R by Hastie and Tibshirani.
On linear regression, it says:
$$RSS=(y_1 -\hat{B_0} - \hat{B_1x_1})^2 + (y_2 -\hat{B_0} - \hat{B_1x_2})^2+...+(y_n -\hat{B_0} - \hat{B_1x_n})^2.$$
The least squares approach... |
In as specific problem that I work with (a competition) I have the follwoing setting: 21 features (numerical on [0,1]) and a binary output. I have approx 100 K rows. The setting seems to be very noisy.
Me and other participants apply feature generation for a while and t-distributed stochastic neighbor embedding turned ... |
I'm working on estimation of pressure based on a noisy sensor for an R&D project. I've achieved good results with GBM \ Random Forest using the excellent xgboost software library. I'm trying to compare this model to a Tensorflow neural network regression. I know this may not be the optimal approach, as highlighted here... |
How do I supposed to deal with the situation when one of the classes is very general, it actually covers a bunch of classes, but other 3 classes I have are very precise. I have a data that has a lot of classes, I just need 3 of them, and I use 4th class as a class for everything else. What problems such method of label... |
I have a time series of 100 observations, and I want to make forecasts for the next 2 values.
time series: Y(t) = Y(1), Y(2), ... Y(100)
forecast: Y(101), Y(102)
I have to use an arima (2,0,0) model in order to make prediction.
Secondly, a covariate of length 50 may helps to improve accuracy, but it relates only to th... |
What is the purpose of Bayesian hierarchical model? When should I use such models?
I've found many questions here and references on the web but they are all too technical. My doubts are about the application of such models, and about their use as substitute of non-informative priors.
From my professor's notes,
Hiera... |
I am trying to build a real-time prediction system for my application. I am yet to actually build any system involving R.
I have some data on MySQL which I'm using to train the model, and I want to build a linear regression model with R.
How should I go about it?
What are the info that I would need to start?
|
We have used BCa bootstrap on estimation of forest proportion in different land categories. The sum of proportions have to be 1.
But using separately independent BCa method on every land category we have not got the sum 1. Question: how to perform BCa method on dependent samples (categories).
|
I have ordinal data (from Likert scores) that are not normally distributed and is paired,there are more than 3 tests over time. There will be something in the region of 150 people evaluated.
How do I choose between Friedmans and Wilcoxon signed-rank tests? Is there any other and if so what would be the benefits of usin... |
I'm getting different RMSE values from a same PCA regression model, but I can't seem to figure out why. Here's my code, using the data set Hitters from R package ISLR.
hitters <- na.omit(Hitters)
set.seed(1)
train <- sample(x = seq(263),
size = 180,
replace = FALSE)
pca.fit2 <- pcr(Sal... |
According to this answer : https://stats.stackexchange.com/a/37710/138097
I understand the logic, except following sentense:
[ note: because of sufficiency, we have reduced the problem of showing uncorrelatedness with every estimator of 0 to only have to show it for estimators that depend only on T ]
What about the ... |
I have a time-dependent cox model with three variables, each of which interacts with the other two. So my final model is:
fit12<-coxph(formula = Surv(data\$TimeIn, data\$Timeout, data\$Status) ~ data\$Year+data\$Life_Stg+data\$prev.tb +data\$prev.tbdata\$Life_Stg + data\$Yeardata\$Life_Stg + data\$Year*data\$prev.tb + ... |
I was wondering, if I could use Recurrent Neural Networks to do some time series regression with additional features.
As an example I want to predict stock prices for different companies. I've got historical stock prices as well as additional features to each company like revenue, RoI, RoE, sell out volume etc. Some o... |
So after finalizing all the analysis based on the assumption that the relationships between my predicted variable and the predictors are linear (which was concluded based on looking at the scatter plots and 'fitting' a straight linear line which generally gathered the cases around it, my variances are also all homosced... |
For my master thesis within Educational Science and Technology, I have an experimental design with students divided over a control and an experimental group based on an educational intervention, and all students wrote both a pre and post test.
Both tests consists of 5 non overlapping questions, drawn randomly from an ... |
Refer to G.Peter Zhang's research paper. In time series univariate, he proposed a hybrid model which is:
$\hat{y}=\hat{L} + \hat{N}$
where
$\hat{L}$ is linear model which can be fitted by ARIMA(p,d,q).
$\hat{N}$ is nonlinear model which can be fitted by ANN. In the paper, he used ANN $4\times4\times1$ structure (4 in... |
I'm performing a multiple logistic regression on my data. Could someone explain how a multiple logistic regression with only significant variables has a low R-squared compared with a multiple logistic regression with all variables (significant plus non significant)?
|
First of all: Please excuse my ignorance. There are some parts of the concept of bayesian inference I may have not yet understand!
What I have so far: I have count data with a negativ binomial distribution and I want to fit a model to this data. The model contains of two unknown parameters (b and n).
b is real-valued o... |
Could the R language function sample be used to do bootstrap resampling?
Does the R language package boot be always loaded to do bootstrap
resampling for the purpose of calculating the 99% confidence interval?
Please explain the following R language code with respect to bootstrap resampling.
x <- 1:12
# a random per... |
I'm calculating confidence intervals for data that I generated myself, so the sample size is very large (about 30,000). Using the standard formula where the sample size is taken into account, my "intervals" end up as points.
The person who told me to calculate the CIs in the first place wrote down the formula but left... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.