instruction stringlengths 9 38.7k |
|---|
Following Sukhatme (1954, pp.35 - 36) for a univariate case, I encountered the following population monomial 'symmetric' functions for a bivariate case: $\sum_{i=1}^{N}(X_i^2Y_i^2)$ $;$ $\sum_{i\neq j=1}^{N}(X_i^2Y_j^2)$ $;$ $\sum_{i\neq j=1}^{N}(X_i^2Y_iY_j)$ $;$ $\sum_{i\neq j\neq k=1}^{N}(X_i^2Y_jY_k)$ $;$ $\sum_{i\... |
If I learn a distribution of random variables from a sequence of data, how can I use the distribution to forecast the data? The current data in sequence may or may not have any relationship with previous data.
|
In the paper by Airoldi, Blei, Fienberg, Xing, 2008, sometimes I see a distinction between $\phi_{p\rightarrow q}$ and $\phi_{q\leftarrow p}$ and sometimes not (the non-distinction in the generative process) when considering the asymmetric directed graphs.
Does this distinction exist or not?
In other words, in a dire... |
I am currently working on a PSO which works fine and returns the cost function (which has different variables) with the lowest error rate just as expected.
Now here is my question:
Is there a way to calculate the importance of the variables of the cost function in regard to the error rate?
I want to know which variable... |
Are boosting techniques suitable only when having large number of features (covariates) or they can be beneficial with having for instance 5 or 6 features as well?
|
I am planning to present a simple introduction to variational Bayesian inference during a lab research meet (45 mins). My audience is mainly from a psychometrics, psychology, educational sciences background who have a basic idea of Bayesian inference and mainly work with SPSS. Computational methods are relatively rare ... |
In practical terms, is the difference only the weight term added to the fraction (probability) of balls of color c?
|
I am working on firm-level survey data. It is a cross-section.
Method of obtaining dependent variable of regression equation:
1. log(gross value added)-log(fixed assets)-log(employment)
2. taking median value as -1 and scaling all other values accordingly
One of my independent variables: Fuel exp. / gross value added
S... |
Maybe this is a silly question, but I need to perform a test for trend in a 2x3 contingency table and I've been said to use the Cochran-Armitage test for trend with weights (0, 1, 2). Okay, that's fine, I can do that and I understand why that is a good approach. But then, I have the following doubt: if we know, by the ... |
Excuse any errors as I'm fairly new to STATA. I'm aiming to generate a retail promotional sales model (Multiple Linear Regression Model) whereby my y-variable is volume of sales at time t, and my independent variables are:
number of TV ads
number of print ads
number of radio ads
average promotion price for brand i
ave... |
Say I'm developing an automatic term extractor and I have a lot of documents. Let's assume this documents do not all have the same size. I also have a list of terms that should be extracted from each document, the gold standards.
When I apply the term extractor to each of the documents I get a list of terms and I can ... |
Here is the problem:
I am interested in problem b.
So, my idea is the following: We know, that if $X = AZ + a$, where $ A$ is $m*m$ and $a$ is constant, than $X \sim N(A\mu + a,A\Sigma A^T)$
I want to use this fact and we have two equalities: $$ A\mu + a = 0$$ $$A\Sigma A^T = I$$
And my question is: am I on the right ... |
Suppose I have to fit a vector field $\vec{y}_i$ with a vector valued function $\vec{f}_i = \vec{f}(\vec{x}_i; \vec{p})$, so both $\vec{y}_i, \vec{f}_i \in \mathbb{R}^m$, where $\vec{x}_i \in \mathbb{R}^n$, and the index $i$ indicates the i-th datapoint. We are interested in the values of the parameters $\vec{p} = (p_1... |
I have been reading some literature on Reinforcement learning and I FEEL that both terms are used interchangeably. Are there ANY differences between the two terms or are they used to refer to the same thing, namely (from here, which defines Approximate DP):
The essence of approximate dynamic program-ming is to replace... |
Let $X_1,...,X_n$ be independent r.v.'s from the poisson $P(\theta)$ ,$\theta \in (0,\infty)$.
and consider loss function $L(\theta ; \delta ) =\frac{[\theta - \delta(x_1,...,x_n)]^2}{\theta}$.
then risk $R(\theta ; T ) =1/n$ where $T=\frac{X_1+...+X_n}{n}$.
Then $T$ is minimax?
If there is distribution $\lambda$ on $(... |
I'm attempting to implement a numerical approximation to assess the frequency of outcomes given $N$ independent random variables. There is a slight twist however, each $N$ has a weight,
Each variable has the form:
$f_n=\{probability, weight\}$
I'm having difficulty confirming what the result should be. Here's an exampl... |
I am a beginner in lmm and there is this question that keeps coming back by reading the book by Snijders and Bosker Multilevel Analysis - why do they always say that $U_{0j}$ and $U_{1j}$ are not directly observed but are latent variables?
E.g. I have measured several classes and I can calculate their average success (... |
Can somebody explain how the properties of logs make it so you can do log linear regressions where the coefficients are interpreted as percentage changes?
|
For a nonnegative random variable $X$, how to prove that $E(X^n)^{\frac1n}$ is non-decreasing in $n? $
|
I am building lost sales estimation model for out of stock days etc. using XGBoost. I am using simple logic of training model on data of normal days with ample inventory (when sales and demand are same) and then using trained model to predict demand on out of stock days. For model building I am splitting the normal day... |
I would like to compare several negative binomial models 2 by 2. Some tests will be between two nested models. Some others will be between overlapping models but not nested.
To do the different models, I'm using a 10 fold cross validation process to get more robust results in a context of academic research.
So how cou... |
Let $ X_1 $ , $X_2$ . . . , $X_n$ be a random sample from $ N (\mu , \sigma^2 )$.
Then the UMVUE of $\sigma^2$ is $$ \frac{n}{n-1} \frac1 n \sum_i(X_i - \bar X)^2 $$
and its MLE is $$ \frac1 n\sum_i( X_i - \bar X)^2.$$
Both the MLE and UMVUE are asymptotically consistent. Does that also imply that both have the same... |
Assume the following linear relationship:
$Y_i = \beta_0 + \beta_1 X_i + u_i$, where $Y_i$ is the dependent variable, $X_i$ a single independent variable and $u_i$ the error term.
According to Stock & Watson (Introduction to Econometrics; [Chapter 4][1]), the first least squares assumption is $E[u_i|X_i]=0$. Does this ... |
In a couple hours of searching, I wasn't able to find an adequate answer for this. We have a method that uses independent sets at each time point for a survival-type analysis (because the process of observation is destructive). While we've been able to show that our method (by curve fitting) is appropriate, I am having... |
I'm trying to fit a negative binomial model on overdispersed count data with a large number of zeros. I have two questions:
1) How do I know that I have an 'excess' number of zeros, and that I should use zero inflated negative binomial?
*note: my outcome variable is number of disease cases by week (total 520 weeks), an... |
Suppose that for $1\le i \le N$
$$\begin{align}
Y_i^j &= f(X_i) + \epsilon_y \qquad &1 \le j \le R_y^i \\
Z_i^j &= af(X_i)+b + \epsilon_z \qquad &1 \le j \le R_z^i
\end{align}$$
where $X_i$ is an unordered categorical variable. Observations $Y_i^j$ and $Z_i^j$ are not paired, and $R_y^i \ne R_z^i$ are the number of rep... |
I work for a company that manufactures widgets and we test each widget before it leaves the factory. One of the parameters that we ask our testers to manually record is the cycle time. Lately I've been suspecting that some (not all) testers are falsifying their cycle time reading and I'm trying to do some "official" st... |
This might sound trivial, but for one single variable I have percentile rank scores for 100 observations. My sample is divided in 2 groups: 20 Observations are in the Group 1, and 80 in the Group 2.
Can I run a t-test to say if, on average, the Group 1 has higher percentile scores when compared with Group 2?
In additio... |
Background:
I'm trying to follow ML lesson about Bayesian inference. They have n samples from a uniform distribution $U(0, \theta)$, and they suggest 2 estimators:
2 times the average $2\frac{\sum{x_i}}{n}$
largest sample $x_{(n)}$
Question:
They claim that the squared errors of each estimator is:
$E[(2\frac{\sum{... |
I would like to compare the performance of an hmm with other different models (Artificial Neural Networks or Random Forests) in which I used mean squared error. As with HMMs it is normally given the log probability, Would it be correct to generate samples (with a fixed init seed) from the HMM model obtained and then ca... |
The usual implementation of decision trees, and estimators based on ensembles of decision trees, use decision trees that threshold on a single predictor at each split. So they divide the feature space into perpendicular hyperlanes.
Is there any benefit to generalizing this a tiny bit. So at each split, the decision tre... |
I am currently conducting an analysis on a small sample ($n=41$) first-difference VAR. The underlying data is only available in yearly terms so there is unfortunately no possibility to increase sample size. All variables are unit roots and stationary in first difference. Predicting a first difference VAR with 6 variabl... |
I've been trying to figure out how to add a covariate of no interest to some of my models using the lme() function from 'multilevel', but have had little succes. In general, these are longitudinal data with some brain measure as the dependent variable, and we are interested in the effects that various demographic chara... |
Since this is a setting question, I'm omitting a data file and my exact variable names. When I run:
library(lme4)
fit <- glmer(Y~ x1 + x2 + x3 + x4 + (1 | x5),
data=df, family = binomial, glmerControl(optimizer = "nloptwrap",
calc.derivs = FALSE))
My results in R are close, but do not exactly match the results of ... |
I am working with surface enhanced Raman spectroscopy to discern the lowest concentration one can see of certain neurotransmitters. Concentrations I use are usually around the nanomolar range. I want to use multivariate analysis (specifically PCA) to classify my samples as either neurotransmitter A, B, C, etc, to show ... |
I'm a junior Business Intelligence Analyst at a retail company in Latin America.
I was asked to deploy a prediction model by hour that can predict how many transactions each restaurant will get each hour.
Obviously this varies by day of the week, month, etc. It also varies by store but right now the model is a pooled m... |
I have small dataset of 15 points. K-means clustering 2 time gives me this result.
Besides the random initializing the centroids, what could a reason for this bizarre graph(1st one) that it has given? I am yet to understand this simple algorithm to full extent.
|
I try to solve it from Cov(X,Y) = E(XY) - E(X)E(Y).
However, I get some problems evaluating E(X*E(Y|X)).
Any hint would be appreciated.
|
I have the following model:
mod = glmer(outcome ~ 1 + (1|ID), family = binomial(link="logit"), data = df)
OR
mod2 = glmer(outcome ~ Condition + (Condition |ID), family = binomial(link="logit"), data = df)
I am interested in obtaining the predicted probability for the intercept, with its associated SE.
Using lsmeans I... |
I'm trying to use the dmvnorm function from the mvtnorm package to compute the log-likelihood of a random normal vector. However, when I check the output of dmvnorm against my computation of the log-likelihood function the dmvnorm output is always almost exactly my result multiplied by 1.7. What's going on? Am I comput... |
I'm trying to follow ML lesson about Bayesian inference.
They have a sample of n observations from a uniform distribution: $x_i = U(0, \theta)$.
They claim that $E[(\sum x_i)^2] = n(n-1)\theta^2/4 + n \theta^2/3$ - why is that true?
I tried by myself and got a different result, where did I go wrong?:
$Var(x_i) = \the... |
I am using PCA to analyze several spatially related time series, and it appears that the first eigenvector corresponds to the derivative of the mean trend of the series (example illustrated below). I am curious as to why the first eigenvector relates to the derivative of the trend as opposed to the trend itself?
The d... |
I'm trying to model excess mortality of cancer patients, and am currently using a general linear model following a poisson distribution. However, I haven't allowed for the possibility that people develop second primary cancers after a first cancer. Obviously these people have a different mortality pattern than people w... |
Lets say I have a p value that is calculated from a population of standard deviations; and I have another p value that is calculated from a population of skewness. Can I combine these two p values together using Fisher's method? (it requires the two p values to be independent.)
|
I am trying to calculate the variance for an average predicted probability. I am using PROC GLIMMIX in SAS to generate a large number of predicted probabilities from a logisitic regression, and each predicted probability contains an associated standard error with it.
What would be my variance associated with this aver... |
I would like to indicate how good prediction is, by looking at the actual, predicted, and residual values, compare to the standard error of the estimate.
I understand that the smaller standard error of the estimate is more accurate, and is a better prediction. But when “Residual score of 27.82” is very close to “the st... |
I thought it'd be possible to use any combination of correlations and standard deviations to generate correlated standard normal draws.
The intent is to get around checking whether the variance-covariance matrix $\Sigma$ is positive-definite.
In the three-variable case, my idea is, given a vector of standard deviation... |
Application: $X$ is the number of particles in a closed volume. $c$ is a constant that converts from particle count to ($>0$) molar concentration. For various reasons, I want to model $Y = X/c$ instead of $X$.
I know $E(X/c) = \frac{\lambda}{c}\,$, and $\text{var}(X/c) = \frac{\lambda}{c^2}$.
The trick is that I'm ... |
Trying to figure out if I should conduct an Hierarchical Linear Modeling (HLM) analysis with a data set. The output for the unconditional model gives me this.
Yes, I know the intraclass correlation coefficient (ICC) is large, but I'm trying to determine 'significance' of the model without the ICC. If the model is sig... |
I have two varieties of Barley; Copeland and Synergy.
I have data on the protein levels of this barley. I have 28 data points for protein of Copeland and 24 data points for protein of Synergy.
What would be the best statistical test to determine whether the barley protein levels are statistically different?
Thanks
|
I know from standard theory that the bias-variance decomposition for Mean Squared Error is (for an estimator $\hat{\mu}$ of $\mu$):
$$
E\left[\left(\hat{\mu}-\mu\right)^2\right] = Var(\hat{\mu}) + \left(E\left[\mu\right]-\mu\right)^2 = Var(\hat{\mu}) +Bias(\hat{\mu}, \mu)^2
$$
However, if today we are talking about vec... |
I am new to stats and this is a silly question, but I just cannot see how ANOVA is related to general linear models.
I am learning about GLM and all the materials I found are saying that ANOVA is a kind of general linear model. for example: https://onlinecourses.science.psu.edu/stat504/node/216
I can see how GLM is ext... |
I have two periodic but stationary time series (at least mean-stationary, variances may be a bit heteroscedastic but only slightly) and I would like to see how do they correlate. I know that I can possibly use standard linear correlation in this case, but it seems that there is a bit of non-linear relationship between ... |
Is there a book analogous to Introduction to Algorithms (CLRS) for Machine Learning, that covers all the models and explanations comprehensively?
|
I was interested in communicating a neural network fit that I obtained from R's nnet package in the form of some type of regression equation. The model I obtained gave:
a 2-1-1 network with 5 weights
options were - linear output units decay=1e-05
b->h1 i1->h1 i2->h1
-0.75 17.72 0.85
b->o h1->o
0.27 0.59
A... |
Let's say I have the following model: y = int + x1 + x2 + x3 + x1*x2 + e
x1 and x2 are binary indicators while x3 is continous.
The estimation of this model is as follows:
Coefficient Std Error p-Value
x1 -0.01818 0.05123 0.6234
x2 -0.05153 0.04238 0.1527
x1*x2 0.07750 0.03641 ... |
This is a question regarding the central limit theorem. In my model, I have five sources of disturbances, each following a particular distribution. I sample the data from each and sum to determine the final disturbance. Will the distribution of the final disturbances be normal?
I read this sentence " In large problems,... |
Say I have a data set with an x and y column such that I can plot all the points on a 2D plot. Now from this post I know how to calculate the standard deviation, but then is it possible to get the z-score? I can't follow the normal formula because I won't get a single score, but rather a pair of values...
|
I have a variable $A$ which Granger causes a variable $B$, and a variable $C$, separately.
Since A and B are very similar in nature, I should expect that $B$ granger caused $C$ as well. Anyway when I perform the test I can't reject the null hypothesis of no causality between them.
Am I missing by any chance something a... |
I generate a histogram for normal data with standard deviation $\neq 1$.
x <- rnorm(1000, mean=0; sd=0.01)
hist(x, freq=FALSE)
I also use freq=FALSE to see probabilities, but plot looks like Y axis is multiplied by my sd:
My question is if x should be first normalized to sd=1 before I use hist with freq=FALSE? In doc... |
I tried the Iris Species lda problem in SPSS and R, but the scalings are different. Why?
SPSS results:
Canonical Discriminant Function Coefficients
Function
1 2
SepalLengthCm -.819 .033
SepalWidthCm -1.548 2.155
PetalLengthCm 2.185 -.930
PetalWidthCm ... |
We are measuring the blood concentration of a drug (1) when subjects had a meal and (2) on an empty stomach. For this, we are drawing blood at 15 minute intervals. This gives us two time series of data for each subject.
We want to show that the drug is absorbed slower when patients have eaten. Is there a statistical te... |
I am interested in treatment-covariate interactions in the context of experiments/randomized controlled trials, with a binary treatment assignment indicator $T$.
Depending on the specific method/ source, I have seen both $T=\{1,0\}$ and $T=\{1, -1\}$ for the treated and the untreated subjects, respectively.
Is there ... |
Let's suppose I have data with key variables country, company and year (and a load of model variables). There are many companies per country and many years of observations per company.
Naturally, there are strong residual correlations for observations in the same country and same company. (There are also correlations... |
Let $X_n$ be independent Poission random variables with mean $\lambda_n$ and $\sum_n\lambda_n=\infty$. Let $S_n=\sum_1^n X_i$ . How to show that ${S_n\over E(S_n)}\xrightarrow{a.s.}1$ ?
I am not getting how to start. Please help.
|
Group A
Mean = 43, STD DEV= 53, Count= 23
Group B
Mean = 70, STD DEV= 27, Count = 6
I need to check if the Mean of B is greater than A.
Is it the formula below correct for my case?
Which is the value to find on the T-distribution table ?
$$t=\frac{(\bar{X}_1-\bar{X}_2)}{\sqrt{\frac{s_1^2}{n_1-1}+\frac{s_2^2}{n_2-1}}}... |
in papers regarding stochastic optimization methods such as for example SGD people often talk about the variance of the gradient $g$ and mostly it is expressed expressed as follows:
$$ \operatorname {Var}(g_r) = E(\|g-E(g)\|_2^2)=E(\|g\|^2_2)-\|E(g)\|_2^2 $$
This reminds me of the standard variance definition for a ran... |
Although this question is a programming question and would, therefore, be more suitable for StackOverflow, I would like to address the question over here given that it is the result of a rather unknown method for non-statisticians, and I was hoping other people may have encountered the same issue.
I am testing the GEE... |
I am stuck with performing this integration. Can anyone help please?
$$
\mathbb{V}\mathrm{ar}[M_j] \stackrel{\text{def}}{=}
\mathbb{E}[M_j^2] =
e_j^T
\left(
\int_{\mathbb{R}^{n+1}} m^2 \pi^D_{\text{prior}}dm
\right)
e_j \stackrel{\text{def}}{=}
\gamma^2 e_j^T \left(L_D^T L_D\right)^{-1} e_j
$$
The $e_j$ is called: ca... |
Assume you have a linear model.
What would happen if one regressed the OLS residuals $\epsilon = y − X \hat\beta$ on $X$?
Would it yield by construction an $R^2$ of zero? If so, why?
|
so my model in SEM has an good fit, and I let R plot my model including path co-efficients (it is automated so I figure the numbers on all paths are path coefficients?).
I cant get a grip on what they mean though... can anyone shed a light on it?
Is there a cut-off value like with RSMEA?
When are they significant?
Than... |
How come in this problem they don't just raise the initially given pdf to the power of 3?
Why do they first convert it to a cdf, raise it to the power of 3, and then convert it back to a pdf
https://i.stack.imgur.com/4EBeN.jpg
|
I added data (33 observed variables, 8 latent variables, all are Likert scales) and ran CFA. Sample size is 618 respondents. A result was many fit indices (Chi-squre/DF, CFI, GFI, AGFI, NFI, NNFI, RMSEA, SRMR, and Hoelter's) are acceptable, except P-value. I modified my CFA model many times (about 11 times) by followed... |
I have collected data over time for the value of a dependent variable, which depends on a non-time variable. For each measurement (with a set value for the independent variable), would it be appropriate to state the uncertainty for that data point as the standard deviation of the values collected over time?
|
I need to add a new variable to an already existing datafile in SPSS. However, this is a categorical (dichotomous) variable and I have over 30,000 cases, therefore I was wondering if it is possible to enter the same value (i.e. either 0 or 1) for a large number of cases at the same time, so I don't need to enter the da... |
I am trying to learn about machine learning using Accord.Net.
I created a project that has a number of labeled states that represent screens a user visited in a sequence. I created some unit tests to submit a series of historical sequences and a new observed sequence and calculate the probability that new sequence fits... |
I created a bar graph where the values are very close. Is there a standard way to highlight small differences? In my case there are quite a few columns, with values ranging from 250 to 280.
|
I have a study region with an area of 1 that has several lakes, one with an island. The total lake area happens to be 0.27. In total 20 random points were placed into this study region. Furthermore, randomly 10 point pairs were connected by straight lines.
How can we estimate the area of the lake using 20 sample point... |
If cross correlation peaks at a very high value at positive lag, it does not imply process in time series A causes process time series B. They can both be caused by an unobserved process C with different propagation rate, for example.
Then what can we draw from the fact that cross correlation is high at some lag?
|
Is it just the aggregation of data points? Or is it the representation of data points for different elements in a tabular format arranged with values of the different variables? How is it different from raw data?
|
I am trying to apply BMA to estimate the beta of a certain stock by combining different models. One, simple model to estimate beta is this
$$\beta_{i,T} = \frac{{\rm cov}(r_{i,t},r_{M,t})}{{\rm var}(r_{M,t})}$$
with
$r_{i,t}$: return of the stock $i$ at day $t$
$r_{i,M}$: return of an market index $M$ at day $t$
I ob... |
I have a question about Bayesian updating. In general Bayesian updating refers to the process of getting the posterior from a prior belief distribution.
Alternatively one could understand the term as using the posterior of the first step as prior input for further calculation.
The below is a simple calculation exampl... |
Usually I have no problem solving simple problems in statistics, but in this one I feel like I´m missing something. It's a very simple problem:
"A Newspapers' seller has a specific newspaper that costs him 70 cents and that he sells at 90 cents. If he does not sell a copy it has no value left and is destroyed at the e... |
For purposes of a non-technical analysis of a simple time-series, what is a quick (but effective) technique / approach to understand (or even 'conclude' with some confidence level) that a trend has shifted (versus that the most recent 'unexpected' observations are due to 'noise' or driven by the unexpected error term E... |
\begin{align}
{\rm bias} &= E(f-\hat{f})^2 \\[7pt]
{\rm RSE} &= \sqrt{\frac{RSS}{n-p-1}}
\end{align}
where $RSS=e_1^2+e_2^2...$
Since the above formuala is right, what is the difference between bias and RSE? Are they not the same?
|
In explaining MLE, some texts (such as this) formulate the likelihood function as:
$\prod_{i=1}^n f(x_i; \theta)$
while some texts (such as this) formulale the likelihood function as:
$\prod_{i=1}^n f(x_i| \theta)$
The basic difference is that, in the latter, $f$ is given as a conditional probability. Do they mean the... |
I've got a se of the mean that is less than the se of the median, what does this tell me about my sampling distr.
Each standard error calculation was used with same sample size.
|
The question is relatively simple, but trivial.
I have data divided by one fixed effect (Emotion, with 2 conditions: A and B), and I have a covariate, for each of my 20 subjects.
My aim is to
1) evaluate correlation between data and covariate;
2) know if there is a significantly bigger correlation between data in A con... |
I wonder whether one can judge strength of coupling between fluctuations of two time series by looking at correlation between residuals of ARIMA models for these two series.
Let's say I have two series, one provides daily air temperature and the second provides water temperatures of a river. Both series are strongly pe... |
I am analyzing wages from an anonymous survey data. The data set is a panel of wages for about 1,000 firms and about 10 years. Each observation contains an individual and his/her wage. The data looks like the follows:
I am interested in whether men are paid higher in the data set. However, I do NOT know whether each i... |
I wanted to take a look at the properties of the error vector that is propagating during backpropagation. The error vector $\boldsymbol{\delta}$ at layer $i$ is nothing more than the derivative of some loss function $L$ with regard to the inputs $\boldsymbol{z}$ at that layer:
$$\boldsymbol{\delta}^{(i)} = \frac{\parti... |
I understand that SVM is about solving the constrained optimization such that
$$\min_{\mathbf{w}} \dfrac{1}{2} \mathbf{w}^T\mathbf{w}$$
subject to
$$y_i(\mathbf{w}^T\mathbf{x_i}+b)\geq{1}, i=1, 2, ...,n$$
And this is handled using nonlinear optimization method Karush–Kuhn–Tucker approach where one step is based on t... |
I am currently getting used to scikit-learn and I trained a simple logistic regression model on the iris dataset. One interesting thing I noticed was when I looked at the classifier.score, namely:
classifier.score(X_test, y_test) 0.97368421052631582
classifier.score(X_train, y_train) 0.9553571428571429
... |
I'd like to use R's random forest package on a rather large dataset. I'm anticipating to this to take a while (perhaps more time than I want to deal with). Is there a way to display the estimated training time in R? If it helps, I'm using RStudio if there might be any extra bells and whistles that might help there.
|
My question in short:
What is the current practice regarding Power Analysis in a multiple regression framework when we are interested in a single coefficient (which may or may not be dummy / interaction term)? In particular, how I do calculate required sample sizes?
Lengthy version:
When we test equality of a simple ... |
How to handle a data set with high number of 0's. I am trying to predict automobile insurance claims of people. So many of them of are zeros. If the claim == 1 then claim_amount = +ve integer, else claim = 0 and claim_amount = 0. There are high number of 0's(90%). How to develop a predictive model which can predict ... |
The classical problem considered by Ross is a random particle visiting all chairs under a circular table. That is, there is a circular buffer of size m+1, were random walking particle is placed at position 0. It can go either left or right 50% and experiment terminates as soon as all chairs are visited. If you did not ... |
What algorithms are known to work well with contextual, non-stationary, infinite armed bandits?
In case it isn't clear:
Contextual: I mean that the rewards depend, not only on our actions, but state (e.g. a feature vector) as well.
Non-stationary Rewards $R$ are also a function of time, i.e. $R(s,a,t)$
Infinitely-ma... |
I've been looking for fortran code for computing the autocorrelation function like R's acf function. The code I have found so far uses some parameter called the dimension of correlation. I am used to seeing autocorrelation in terms of lag. What is the relationship between the dimension and the lag? Or am I mixing up tw... |
Suppose I want to estimate the percent change of something over a fixed amount of time. I have some values of before and after, so I can either choose to get the average of the "before" values and the average value of the "after" values and take the percent change, or I can calculate the percent changes and then take ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.