instruction stringlengths 9 38.7k |
|---|
I have a dataset of 20 features. I have optimised Random Forest and the parameters it uses are:
number of trees: 167
max # of features used to split a node: 9
If I can find out what features where used to split a node and if these same 9 feaures are used in all the trees; can I skip a feature selection method? I mean... |
I'm conducting a study about social media posting with pets. My dependent variable is pet posting frequency (total pet pictures/total pictures posted), and a significant number of participants did not post pictures with pets in the 2-week time frame that I set, leaving a lot of zeros in the dataset. The independent va... |
Is there a satisfactory notation for marginal distributions? This would be one that clearly distinguishes the marginal distribution of $X$ relative to the joint distribution $(X,Y)$ from $X$ as it would be envisaged had $Y$ not been introduced.
One option might be $\mathbb{E}_Y(X|Y)$, but this seems to go beyond the ba... |
I have a multi vairable binary target variable like this with multiple TRUE values.
Y1 Y2 Y3 Y4
1 0 0 1 1
2 1 1 1 1
3 1 0 1 0
4 1 0 0 1
5 0 1 1 0
6 1 1 1 0
7 0 0 0 1
8 1 1 1 0
9 1 1 1 0
10 0 1 1 0
11 0 0 0 1
12 1 1 1 1
... |
I was wondering what the exact definition of this is. Apparently the exponential distribution is an example of such a family of densities. But what is the precise definition of a scale family? Also, I've heard of location and location-scale families in the same context and I'm not sure what these are either.
|
I am working with tick-data on some of the more liquid futures and options which gets millions of ticks every single day. Can I use the normal statistical techniques (like correlation, regression, cointegration, etc) to tick data due to the high noise.
If not, can someone please suggest some other techniques which hel... |
I am trying to fit regression model using r for salary on diffrent skills.But model returns regression coefficients as NA for some skills.This is due to high correlation among skills.But I still want to include them in model.Skill score values are between 4 to 8 for all skills.
How to solve the problem of NA coefficien... |
I'm trying to understand roc function of pROC package. My first understanding is I need to have a model first and then run against testing set to get predicted probability for each sample, then by feeding with the true class of testing set and probability from the model, with different cutoff we can get the ROC curve, ... |
For real, symmetric, positive semidefinite matrices $A$ and $B$, let $\leq_L$ denote the Loewner partial order: $A \leq_L B$ iff $B-A$ is positive semidefinite. Suppose $A$ and $B$ are fixed PSD matrices. Is there a method to randomly generate PSD matrices from the region $\{X | A \leq_L X \leq_L B\}$? Better yet, is ... |
I performed mixed model ANOVAs using the lmer function from lme4.
My model is as follows.
mixedhrt<-lmer(HR_COR~Optimel+Order+Gender+SipSize +Hunger + GHI+(1|Participant),data=Taste2)
I want to see the effect of package condition, the order of my blocks, gender, the sip size, hunger ratings and general health intere... |
Suppose that I'm building a binary classifier parameterized by $\theta \in \mathbb{R}^k$ that maps some observed features $x_i \in \mathbb{R}^l$ to a decision of whether or not to play a game with an uncertain payoff:
$$ f(\centerdot;\theta): \mathbb{R}^l \to \{0,1\}.$$
The payoff of the $i$th game is $y_i \sim N(0,1)$... |
related to Feature importance for random forest classification of a sample
This blog by Ando Saabas suggests a nice way to interpret a tree result for a specific sample into per-feature contributions. Basically he goes over the path to the sample and counts each delta in the prediction $pred(currentNode) - pred(parentN... |
I am poor in statistics. I did a multiple linear regression in python by using statsmodels. I know that I can transform a non-linear relation into a linear relation in different ways using this model. Combinations of different independent variables are shown in below:
smf.ols(formula = 'y ~ a + I(a**2) + log(b) + c + ... |
I have a time series Y, for one year and measures taken every 15 minutes.
The data show clear seasonality, both daily and weekly. I would like to see the seasonality in the models.
I tried various possibilitiesm for example:
fit <- arima(Y,order=c(1,1,0),seasonal=c(1,1,0))
plot(forecast(fit, h=1000),xlim=c(34000,36000)... |
The question is all in the title. The only background I can add, is that I am finding a powerlaw to interpolate beautifully between my data points. Only that my data appears in integers only, so I would better use the discrete equivalent of the powerlaw distribution - that is to say, a probability density function equa... |
Is it possible to estimate the partial effect of the exogenous variables without holding other variables constant, in other words without ceteris paribus assumption? I know that in normal case we need to hold other variables constant to find a partial effect of one variable, but I have this question in the exam questio... |
I am running mixed effect Cox models (I have 1 random effect factor) using the coxme function {coxme} in R, and I would like to check the assumption of proportional hazard.
I know that the proportional hazards (PH) assumption can be verified with the cox.zph function {survival} on cox.ph model.
However, I cannot find t... |
I can't find in any statistics book what would start to be considered a large standard error of a regression coefficient.
In my research, I have a group of a categorical variable with a small number of cases that in a logistic regression reports what I think is a rather large Standard Error (0.647), but since the B is ... |
This data shows consumption pattern of a spare part in numbers for last three years. Now I need to forecast its consumption for next 6 months or 1 year.
Below is the data for the same:
1. Feb-14 14
2. Mar-14 533
3. Apr-14 729
4. May-14 906
5. Jun-14 916
6. Jul-14 14
7. Aug-14 18
8. Sep-14 1512
9. Oct-1... |
Let $x$ be a discrete random variable with probability mass function $p(x)$, where $x$ belongs to $\{-1, 0, 1, 2, 3\}$. To test $H_0\!: p(x) = p_o(x)$ vs. $p(x) = p_1(x)$, where for above mentioned values of $x$ the respective values of $p_o(x)$ and $p_1(x)$ are
\begin{align}p_o(x)\!: \quad.01 \quad.02 \quad.05 ... |
I am trying to understand a code provided by my teacher. He has done t-test and then has stored (ttest$conf.int[2] - ttest$conf.int[1])/2 as a variable called "Confidence Interval Radius". What can this possibly mean? Observations for ttest are all accuracies from a predictor model (therefore all are in percentage)
Res... |
I'm trying to understand this paper:
http://www.jmlr.org/proceedings/papers/v9/hanneke10a/hanneke10a.pdf
However, I get stuck at Lemma 1, which I will copy here. This lemma is about estimating the mean of a Bernoulli random variable by some estimator $\hat{p}_n$ using $n$ samples. The paper says this is a well-known re... |
I have created a multiples Gaussian distributions using this codes in MATLAB:
mu = [0];
sigma = cat(3, 1);
gmm = gmdistribution(mu, sigma);
figure;
ezplot(@(x) pdf(gmm,x));hold on;
mu = [5]
sigma = cat(3, 2)
gmm = gmdistribution(mu, sigma);
ezplot(@(x) pdf(gmm,x));
When I want to combine both Gaussians with a Gau... |
I have a set of 10 possible banners to show on a web page. For a given page view only a subset of them are available. I can only show one per page.
There are some additional parameters for example page type, number of page viewes in the session and session count for the user.
I want to use deep learning to maximize con... |
How can I get the asymptotic normality of the unbiased estimator
$\sigma_2$ so that it is equal to $ e'e/(n-k) $, that is $\sqrt n $ ($\hat \sigma_2$ - $\sigma_2$) $\rightarrow N (0,v)$ and give the asymptotic variance $v$.
I know that the error term is i.i.d and the fourth moment exists, i.e. $E(\ e_i^4 ) < \infty $... |
I am trying to include several income types into a regression model (specifically a logit model). This variable has the particularity to have numerous zero for some type of incomes (typically some capital incomes). How do I choose between
including a dummy variable of whether the individual has this particular type o... |
In cross validation should feature selection be applied only on the training data or also on the test set?
|
I am planning a meta-analysis. I read some books (e.g., Cumming, 2012) and papers (e.g., Johnson & Eagly, 2000). I learned that standardized measure of effect size like d and r are sensitive to resaerch design so that standardized effect size for within-subject design are usually larger than those for between-subject d... |
I have been reading this forum but cannot find anything specific enough to address my problem.
I have classified disease in the below image (red spots), and verified disease by GPS (Red Circles).
I believe I have these three types of variables:
• True Positive (TP): Correctly classified as the class of interest (GP... |
How can I use the delta method to show that
$\sqrt n$ (1/$\bar Y_n$ - 1/$\mu)$ $\rightarrow$ N (0, $\sigma^2$/$\mu^4$) ?
We know that:
$\bar Y_n$ = $1/n \sum_{n=1}^n Y_i$
$\ Y_i$ is i.i.d; $E(\ Y_i )= \mu\ne 0$ and $V(\ Y_i)= \sigma^2 \gt$ 0
|
If autocorrelation in a model is detected by the Breusch-Godfrey test for r-th order autocorrelation, what is the GLS procedure for "fixing" the autocorrelation problem? And is Cochrane-Orcutt procedure a part of the GLS method, or is it a separate "remedy" for autocorrelation?
|
Qualifier: I am not a statistician.
I have 4 data sets and want to determine whether the 4 regression coefficients obtained are statistically significantly different. I compared each pair of coefficients separately (6 hypotheses) with t-tests and found no significant difference (t values ~1 for 6 d.f.). Does this suppo... |
Say I have some data $(x_{1},\ldots,x_{n})$ which I believe to be drawn from some distribution $\nu_{\theta}(x)$. I'm moderately familiar with estimation techniques for $\theta$ when I have some functional form for $\nu_{\theta}(x)$.
However I'm wondering if someone can give me an introductory reference (or at least ... |
In this paper Dealing with Separation in Logistic Regression Models some various types of complete separation are discussed:
direction of the separation is positive if and only if $s_i = 1 \Rightarrow y_i = 1$ or $s_i = 0 \Rightarrow y_i = 0$
direction of the separation is negative if and only if $s_i = 0 \Rightarrow... |
I am doing a Mann-Whitney U test for two samples with the following descriptives:
Sample 1:
n = 4026
Mean = 15.2
Median = 10.0
Minumum = 1.0
Maximum = 52.0
Standard Deviation = 15.14
Sample 2:
n = 14510
Mean = 15.01
Median = 10.0
Minumum = 1.0
Maximum = 55.0
Standard Deviation = 15.26
My hypothesis is that number of ... |
I am given a sample with n = 100 of patients with risk factor information for all of them (binary variable, yes/no) and the disease status (also binary). I have to find the association between each individual risk factor and the disease and supply the result as a p-value and $\chi^2$ value.
I thought I would make a 2×2... |
One of the assumptions of ANOVA is normally distributed residuals. However, as noted here some authors have stated that this assumption is barely important at all. Simulation results have shown that, provided sufficient sample size, deviations from normality can be tolerated without a large adverse effect. In practi... |
I want a deep, mathematical understanding of time series (at the level of a statistics major). I intend to use this knowledge for forecasting for fun (probably in finance but can branch out).
Where should I start? I'm looking for a brief outline of what to do, e.g. learn book A, then learn book B, then try predict C us... |
Would the Support Vectors in the SVM algorithm change every time that I change the functional margin ?
The optimization objective in the SVM algorithm is this -
The rest of the SVM optimization algorithm is then derived by setting i.e. Gamma (hat) to 1. Does the Support Vectors derived depend on Gamma, w or b in any... |
I am currently researching the impact of survey participation on subsequent behavior, i.e., does merely participating in an intention survey about fitness products influence post survey spending. As such, I conducted a simple experiment (survey participation yes/no).
I would love to control for prior satisfaction with... |
I am trying to teach myself surface fitting with splines using tensor products. I am trying to construct a toy example but I can't seem to get my example to work. I will try to explain the best I can .
I am trying to fit a set of a points sampled from bi-variate Gaussian using B-Splines.
This is what the sampled surfac... |
I've implemented a neural network using batch gradient descent. Now I want to try minibatch, largely in order to avoid problems with local minima.
In ESL's chapter on neural networks, the authors make the point that SGD is amenable to parallelization, given that it takes one training example at a time. I suppose that... |
I am not sure which method to choose for my analysis: multilevel model or panel analysis (random effects) with clustered stand. errors. I have a panel data with several economic variables, e.g. profit or sales for 400 European firms over 7 years. I first tried to use panel analysis (random effects based on Hausman test... |
I am trying to predict if students could meet their assignments deadline or not based on days to complete and number of other assignments that they are supposed to complete. I found out that:
There is no spearman or pearson correlation (close to 0) between inputs and output. This is clear from the plots as well.
I buil... |
From looking at the Stan documentation and user forums, marginalization is a technique where you sum over some parameters and that allows you to exclude them from the likelihood function.
In particular, the documentation says it can be much faster to marginalize out some discrete parameters in finite mixtures and late... |
I need to estimate a linear regression with the OLS method. Since I assume the error terms to be correlated, I would like to account for heteroskedasticity and autocorrelation in the error terms. I already wrote some code, but I wonder whether it is correct.
So far, my code is:
myregression <- lm(x ~ y + z)
coeftest(m... |
From OnlineStatBook:
I don't understand the meaning of
Since the mean is $\frac{1}{N}$ times the sum, the variance of the sampling distribution of the mean would be $\frac{1}{N^2}$ times the variance of the sum, which equals $\frac{σ^2}{N}$.
I only recently started refreshing my knowledge of statistics, and this s... |
I am writing you with a statistics question for which I cannot find an answer on the internet.
I have conducted a survey to find out how much consumers like different products. "Likability" is a 3-item construct in my survey and I test it for 15 different products.
Now I want to know if there is a significant differe... |
Let's say I want to build a boolean classifier to classify an animal as 'dog' vs 'cat' based on some of its attributes. I can do the standard machine learning approach of building a training set of instances with a known label, training a classifier, and using that for prediction. All well and good.
But now suppose t... |
I managed to demonstrate till the first part. The problem I'm facing is transforming it to look like the second part.
|
I am performing an experiment on Metropolis-Hastings. I have written a proof that returns for stocks have to be a function of the Cauchy distribution and that the distribution of $\beta$ in the equation $x_{t+1}=\beta{x_t}+\epsilon_{t+1},\beta>1$ is also the Cauchy distribution. I chose to seed the random numbers so ... |
I was reading the documentation of sklearn SVM and saw these two statements
Still effective in cases where number of dimensions is greater than the number of samples
If the number of features is much greater than the number of samples, the method is likely to give poor performances.
Now my understanding regarding SVM... |
Let $X \in \mathbb R^r$ be a random vector. The moment generating function (MGF) $m(t) = \mathbb E e^{X^Tt}$ is ubiquitous in statistics and probability.
In my research, I've had to deal with the scalar-valued matrix function $M(\Omega) = \mathbb E e^{X^T\Omega X}$. I'm interested in knowing whether this function has a... |
I am creating a profitability model for a proposed chemical manufacturing project and some of the parameters that go into this model are subject to uncertainty.
e.g. The price of Styrene (a feedstock), or the cost of electricity, cost of coal etc.
The goal is to not only estimate the profitability of the project but i... |
I want to run the following model: Weight ~ Height*Sex, where * sign means interaction. I got the following result:
modell <- lm(df$weight ~ df$height*df$SEX)
summary(model)
# ...
# Coefficients:
# Estimate Std. Error t value Pr(>|t|)
# (Intercept) 29.5514 43.1282 0.685 0.4... |
I am using R to estimate the error in the slope of a regression line. (I will later use the slope to calculate something.) I have some data, call them $x$ and $y$, and will fit a linear regression such as $y = mx+c$. If y has some error associated with it, say $\delta y = 0.1$ for example, what is the error in the slop... |
I'm interested in the possiblity of using support vector machines for density estimation. The main source I found for this is a paper by Mukherjee & Vapnik 'Support vector method for multivariate density estimation' (Link) which claims that this approach performs better than for example the Parzen-Window approach. The ... |
I've read through this explanation here regarding calculating the variance explained from PCA output. I think I got it right but might be off in my interpretation of R output.
In the example below, I would like to calculate the percentage of variance explained by the first principal component of the USArrests dataset.
... |
A popular algorithm to determine the (complex) log likelihood function of an ARMA(p,q) process involves generating it through the use of a state-space model and the Kalman Filter.
I started reading Maximum Likelihood and the Kalman Filter but the question isn't clear when it comes to the full implementation of it as it... |
The $p$-value is used to report how strongly we can presume against an hypothesis. As is clear, this $p$ value is itself estimated from data and if new data where collected in the same conditions, the new $p$ value will very unlikely be the same.
Halsey, Curran-Everett, Vowler & Drummond (2015) in a commentary to Natur... |
I have used K-mean algorithm for clustering my data , and i have used Calinski-Harabasz as validity index measurement, the value of CH are :
k=2 , CH= 13.41, well separated cluster
k=4 , CH= 269.68 overlapped cluster
The figure is k-mean algorithm with k=2 and CH= 13.41
and the second one is k-mean algorithm... |
Suppose $N(t)$ is a Poisson process with rates $\lambda$. Suppose I've been observing it for $t \in [0, T]$ and recorded events. How can I test the null hypothesis $\lambda < \lambda_0$, where $\lambda_0$ is a given value?
An obvious solution is to derive MLE of rates $\hat\lambda$ and compare with $\lambda_0$. But I d... |
How can I decide for the following estimators ($\bar\beta_1 $ and $\tilde\beta_1 $) if they are unbiased and/or consistent for $\beta_1 $ ?
Lets assume I have a normal linear reg. model
$\ y_i $ = $\beta_1 $ + $\beta_2 x_i $ + $\epsilon_i$
error term is i.i.d
$\tilde\beta_1 $ = ($\ x_2y_1 - x_1y_2$)/ ($\ x_2 -x_1$)
$... |
I have 2 datasets $X_1,X_2$: $n$ and $m$ vectors of $l$ length. The distribution of each point in dataset has finite variance and mean, for simplicity, for $X_j$ and coordinate $i$ the distribution is $\mathcal N (\mu_{ji}, \sigma_{ji})$.
What if I want to answer the question "if variance in $X_1$ is greater than in $X... |
I conducted an experiment using a factorial design and have to analyze some of the variables using a repeated measures in time, which I am analyzing in SAS. I have never used a repeated measures ANOVA before. I work with biological systems and unfortunately they rarely meet the assumptions needed to run statistical ana... |
In general, if we have a large dataset, we can split it into (1) training, (2) validation, and (3) test. We use validation to identify the best hyperparameters in cross validation (e.g., C in SVM) and then we train the model using the best hyperparameters with the training set and apply the trained model to the test to... |
I am running one-way ANOVA to determine whether several groups have differing means. I also run post-hoc multiple comparison to determine which means are different. The problem is that I need to have it showed which sets of groups are not different (like REGWQ test does). The problem is that Levene's test shows that t... |
I am working on building an appropriate model for sequential categorical data in R.
Here is the set up: I have a sequence of categorical predictions whose order I want to analyze. I also have a continuous predictor that is hypothesized to affect transition frequencies between categories. In addition, the data comes fr... |
I have a set of covariance stationary variables which are slightly correlated to each other (<20%). I want to model the dependencies among the variables. I found out, that there are three types of VAR models:
Reduced Form
Recursive
Structural
Which one should I use? When I use the 'wrong' one, how can I detect it?
I... |
It has been the standard in many machine learning journals for very many years that models should be evaluated against a test set that's identically distributed but has independently samples from training data, and authors report averages of many iterations of random train/test partitions of a full dataset.
When lookin... |
I am studying the book Bayesian Artificial Intelligence. There is an example bayesian network see the figure:
For this network the author calculated some numbers. I could not understand how author calculated highlighted probabilities for Xray and Dyspnoea when there is no evidence. See the figure please:
I am tryi... |
I have genomic data that I want to play with. I have 3 CSV files, each with ~300 samples and ~19000 genes, which contain information on expression levels, relative expression levels (tumor / normal), and Boolean values indication mutations. I also have an additional CSV file that has ground truth information (when did ... |
I fit a dataset with a binary target class by the random forest. In python, I can do it either by randomforestclassifier or randomforestregressor.
I can get the classification directly from randomforestclassifier or I could run randomforestregressor first and get back a set of estimated scores (continuous value). Then ... |
I know the question may seem stupid at first glance, but it's only because it's like R has a mind of its own, and doesn't let me in. :)
I did a questionnaire study, and one of the questions was 'For how many years have you been...?' I got 9 different numbers as answers, including both integers and decimals. I had desig... |
In my training dataset I have two classes. I have run rf using the following code
control <- trainControl(method = "repeatedcv", repeats=5, p=.7, sampling = "down")
fit <- train(x = training, y = factor(classe), method = "rf", trControl = control, importance=TRUE)
#> fit
# Random Forest
#
# 27 samples
# ... |
I'm working through the beginner exercise of classifying the MNIST dataset (recognizing hand written digits).
If I train with 80% of the dataset, then test the remaining 20% of the samples, I get ~90% accuracy.
Now, if I create a new sample by hand (using a 28x28 grid in a MS Paint-like application), the accuracy is mu... |
I'm using lrtest to compare two models in Stata. When I get a $p$-value of less than 0.05, does it mean one model is better than the other one? But which one is better? The one that is nested in the other one?
|
I have the following set of numbers: {20, 20, 20, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 2... |
I'm trying to understand logistic regression by training a classifier on the MNIST dataset (a list of hand written digits represented as a list of pixel intensities).
I read about feature normalization (https://en.m.wikipedia.org/wiki/Feature_scaling) but I'm not sure how to apply it to my problem on hand. The training... |
I am trying to figure out why the parameter $$\begin{equation*}
\hat\beta = (X^TX)^{-1}X^TY \end{equation*}$$
is normally distributed in least-squares prediction. (Where Y is a linear function plus normal noise.)
All the examples I've found have said that since
$$\begin{align*}
\hat\beta &= (X^TX)^{-1}X^TY \\
&= (X^TX... |
Can a time series be both trend stationary and difference stationary at the same time? In this situation how do we approach the problem?
|
I have the means of two groups, test and control. I've measured the effect on 5 time points: 0, 1, 3, 6 and 10 hours. I would like to know whether there is significant difference between the means of the two groups and whether it is significant at individual time points. Please suggest which test I should perform and w... |
I am working on an algorithm for community detection on complex systems, where those systems are modeled as graphs. To form community i need to find similarity between nodes.
I am using Jaccard similarity. Normally the similarity value is between 0 and 1. However to detect community, i need to determine a certain thres... |
In my study I compare Finnish and Russian expressions for different parts of the day. I conducted a survey and asked people to refer to a time interval with some non-numeric expression (e.g. if something happens between 1pm and 3pm you might refer to it with the phrase "afternoon"). The thing is that Russian, unlike Fi... |
I am trying to analyze data from a factorial design experiment with three factors: Nitrogen, Phosphorus and CO2, with 2 levels each. I ran a three-way ANOVA in R:
> fit = aov( Chl ~ (Nitrogen*Phosphorus*CO2), data=rr2)
> print(drop1(fit,~.,test="F"))
Single term deletions
Model:
Chl ~ (Nitrogen * Phosphorus * CO2)
... |
Background
Suppose I have observations $y=\{x_1,x_2,...,x_n\}$ of a binary variable $x_i\in\{0,1\}$ (assumed to be IID). Observations are generated by some complicated and unknown system $\mathcal F$. To simulate/predict the output of the system I use a function $f(θ)$, parameterized by model parameters $\theta$, lead... |
What is the best algorithm to reduce the number of data points in a scatterplot? I have a fairly evenly distributed data and want to reduce the number of data points by dividing the graph in sectors and pick just a single representative point in a sector instead of the hundreds or thousands.
I have come across samplin... |
I have a very specific regression problem involving a data set with a general pattern of missing data. The data set has several variables and corresponding binary variables determining whether those variables are expected to have a value or not.
Basically if the binary variable has a value of 1, there would be a value... |
I am trying to understand the weighted least squares estimation method, and I'd really appreciate it if you could shed some light on me. Let me explain my problem briefly:
Consider a linear model in a matrix form as $y=\beta x +e$ with $e \sim \mathcal{N} (0, \sigma^2I)$. To find an estimate of $x$, the weighted linea... |
I recently completed Udacity's Inferential Statistics Introductory course and I selected Haberman's Survival Data Set as my final project's data set (please google the data set as I cannot add more than one link)
My Question
Does the following test selection make sense for this data?
Data Description
Contains Ages, Ye... |
My techniques so far is old school (got my degree in 1980s) - regression, crosstab, ... at best Poisson and negative binomial. SPSS/SAS and now R. Usually just run and report ...
I encounter now real data where the count results look as a sharp peak in 0 and declining then another distribution with quite a normal ar... |
I need some suggestions to how calculate the yields for a silicon process. I'll try to give you an idea of the problem i'm facing.
Basically the manufacturing yield is the ratio between the number of faultless chip and the number of chip created. Usually to have a prediction of this value it is used the Poisson distri... |
I use cforest, a function of the R package Party, to realize a conditional inference random forest. However I don't understand how this function compute the predict variable for a regression problem.
Could you explain me how this work please ?
Can I get in output the median of the mean final tree nodes ?
Can I get the ... |
I have a set of data which is has a very large positive skew, and has been transformed using a logarithm. I wish to predict one variable from another using the lm function in R. Since both variables have been transformed, I am well aware that my regression will output the equation:
ln(y) = b*ln(x) + a, where a and b ar... |
I have been thinking about this question for a long time: I wanted to ask that if we have a fixed effect regression (say data on 30 counties over 10 years). Now, say I run a regression
$Y_{it} = \alpha_{i} + \beta_{t} + \beta_3 X_{it} + \varepsilon_{it}$
Then my question is that if I have both county $\alpha_{i}$ and y... |
I'm struggling to connect the idea of a sampling distribution of a test statistic to the null distribution.
If I run many simple linear regressions on samples extracted from a population of data I can create sampling distributions of my test statistics, in this case for the slope and the intercept.
f <- function () {... |
Suppose that I have a population desribed by $X\sim U(0,\theta)$, where $\theta$ is unknown. I want to test $$\begin{cases} H_0:\,\theta\leq 30 \\ H_A:\,\theta>30\end{cases}$$ using the uniformly most powerful test. By the form of the test, I thought of using Karlin-Rubin's Theorem.
First, one checks that the likelihoo... |
I am interested in developing a model to predict survival based on a few predictors: age, sex, and two lab values, albumin and globulin.
I have approximately 14,000 deaths in the data.
I initially looked at albumin and created separate models for men and women. I used restricted cubic splines for both the albumin ter... |
Longitudinal or repeated measures studies are appropriate if subjects are observed repeatedly over time (balanced or unbalanced).
Is it important to keep subjects that have records only for one time or it is possible to discard these subjects without any changes in the analysis?
What does happen if we discard these sub... |
My question is motivated in part by the possibilities afforded by scikit-learn. In the documentation, there are two examples of how to compute a Receiver Operating Characteristic (ROC) Curve.
One uses predict_proba to
Compute probabilities of possible outcomes for samples [...].
, while the other uses decision_funct... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.