instruction stringlengths 9 38.7k |
|---|
I have recently built a random forest model for classifying two types of cancer based on patients' genetic profile. I used patients' genetic markers (SNPs) as my features and disease status as my outcome.
My question however is why top ranked features in my model are not the same as the features with high correlation t... |
In the development of Kalman filter, I hit roadblocks when trying to estimate the noise covariance matrix of both the state process and the measurement process.
In this post, the author mentioned "tuning" these covariance. Also, on the wikipedia page, it says In most real-time applications, the covariance matrices that... |
I am confused about something very trivial.
Suppose that we have 3 random variables, such that:
$Z=XY$
I am trying to understand the relation between the following expressions:
$E_Z[Z] =? E_{X,Y}[XY] =? E_{Z}[XY] =? E_{X,Y}[Z]$
I can't decide which integrals below yield which expectation and which are equal:
a) $\int p... |
When minimizing the squared error using vanilla/basic gradient descent..meaning basically:
while not converged:
new_parameter = old_parameter - step_size*(gradient of rss)
Are the following assumptions correct?
You're guaranteed convergence to a global minimum because rss is a convex problem
The only reason it wou... |
I have a count dependent variable with one continuous independent variable and one dichotomous independent variable, and I am using a negative binomial regression due to the poisson appearing overdispersed. The confidence interval for alpha excluded zero further confirming the inappropriateness of poisson. I'm concerne... |
I'm doing logistic regression with too many predictors and too few datapoints, so I'm using elastic net logistic regression as a principled way to do variable selection. (The larger goal is to test a predictive model as measured by AUC, but I don't think that matters here.)
However I've noticed that which coefficients ... |
I work with surveys (unweighted data) and my research vendor and I are debating what test to use when comparing whether two proportions are equal. What I mean is that we have a lot of data using a Likert scale (5 points agree) or binary data (yes/no).
While I would think to use a t-test with the formula to compare mean... |
I want to estimate the following:
$$Y = b_0 + b_1D_1 + b_2X_1 + b_2X_1D_1 + b_3X_3....+error$$
where $Y$ = outcome, continuous
$D_1$ = endogenous, binary
$X_1$ = exogenous, binary
$X_1D_1$ = interaction of the two
$X_3, X_4$ = exogenous variables
I have a panel data. From what I read so far, though not finding somethi... |
A reviewer is asking me to test for homoscedasticity with "appropriate tests", as opposed to visual inspection of residual plots. I haven't found any such test (I guess he wants a p-value). Does such a test exist and if not, is there something I can cite to justify not presenting a p-value?
|
This paper on von Mises clustering uses an upper bound on the modified log-Bessel function that I struggle to replicate. Taking results from this paper, the authors state:
$$u\frac{I'_\nu(u)}{I_\nu(u)} \le \sqrt{u^2 + v^2} $$ $$ \frac{I'_\nu(u)}{I_\nu(u)} \le \frac{\sqrt{u^2 + v^2}}{u} = \sqrt{1 + \frac{v^2}{u^2}} \ta... |
I have observed that, on average, the absolute value of Pearson correlation coefficient is a constant close to 0.560.42 for any pair of independent random walks, regardless of the walk length.
Can someone explain this phenomenon?
I expected the correlations to get smaller as the walk length increases, like with any ran... |
I have transformed multivariate normally distributed data into uniform distribution using the Probability Integral transformation. Now I want to preserve the locality of the data points, that is, if there were two data points that have the same distance to a given point in the multivariate normally distributed data; t... |
In Applied Linear Statistical Models (Kutner, Nachtsheim, Neter, Li) one reads the following on the coefficient of partial determination:
A coefficient of partial determination can be interpreted as a coefficient of simple determination. Consider a multiple regression model witht two $X$ variables. Suppose we regress ... |
In order to correctly estimate a VAR model, i have to determine whether my variable, the log of the Harmonized Index of Consumer Prices, is stationary. Now, I have performed both the ADF and the PP tests. The ADF-test rejects the null hypothesis with every specification (trend+constant, constant, nothing). However, the... |
Given random variables $X_1$,$X_2$,$Y_1$,$Y_2$, such that
$$
\text{Var}(X_1) > \text{Var}(X_2),\text{Var}(Y_1) > \text{Var}(Y_2).
$$
Then does the following hold?
$$
[\text{Var}(X_1) - \text{Var}(X_2)][\text{Var}(Y_1) - \text{Var}(Y_2)] \ge [\text{Cov}(X_1,Y_1)-\text{Cov}(X_2,Y_2)]^2
$$
|
A binomial experiment obviously needs to have only two possible outcomes. However, what if there are three outcomes but treated as two?
For example, would these two examples be binomial experiments?
A researcher conducts a poll for 200 people in which the options are "Yes", "No", or "Maybe". X is the number of people ... |
We observed that in a particular scenario, the p-values for t-test and tukey were exactly opposite and we are trying to figure out what the problem is
Here is the output from Tukey. Observe the p adj value for 1Hr-0Hr is 1.00
$sampleIL1.b
diff lwr upr p adj
1Hr-0Hr 4.625395e-05 -0.025... |
I have a output variable and 1 categorical predictor and 3 continuous predictors.
dat=data.frame(IV = rnorm(9), group=c("A","A","A","B","B","B","C","C","C"),pred1=rnorm(9),pred2=rnorm(9),pred3=rnorm(9))
What is the recommended way to add the dummy variable and how does the interpretation of the output change with thes... |
What is the formula (approximate or exact) for a prediction interval for a Binomial random variable?
Assume $Y \sim \mathsf{Binom}(n, p)$, and we observe $y$ (drawn from $Y$). The $n$ is known.
Our goal is to obtain a 95% prediction interval for a new draw from $Y$.
The point estimate is $n\hat{p}$, where $\hat{p}=\fr... |
I'm trying to filter a time series, of which I occasionally can observe the state variable variable but not always. I also have a noisy measure of this state variable all the time. By picking the time points when I have both, I can compute the error between the two, which gives me a sense of what the noisy measure is l... |
The following model was estimated:
Linear regression
Number of obs = 1,027
F(45, 981) = 17.85
Prob > F = 0.0000
R-squared = 0.4268
... |
I've been working on some attribution modeling in R, following the markov chain-based methodology described here.
In order to compare the sensitivity and specificity trade-offs of using models of different markov orders, I'd like to look at a ROC curve. I do not know how to technically implement this, using the dataset... |
I am trying to create an algorithm to fit dI/dV data from a superconducting sample, and eventually a GUI.
There is a double integration involved over the product of two functions Fermi function and density of states), both of which contain the independent variables order parameter, temperature and broadening parameter... |
I'm currently building a business intelligence product that requires the classification of employee review text into 15 different categories with bearing on the company's strategy execution (e.g. innovation mindset, resource allocation, collaboration.)
As I hand-coded a training set for a prospective machine learning c... |
I have a problem where gradients after minimization using Adam Optimizer only changes from hidden layer to output layer. But not from input layer to hidden layer, it stays the same as the previous training step (so gradients are not all 0s).
My neural network has the following architecture:
Input layer: 150000 units (... |
I ran a Generalized Linear Mixed Model in SPSS and included 3 measurement levels (D1, D2 and D3) with 2 between-subjects groups (A and B) and the interaction effect between time and group. The interaction was not significant, but the main effects (time and group) both were. It is valid to run between and within post-ho... |
I am interested in a power analysis for a Poisson regression of the form:
$Y_{i,1} = \beta_{0}+\beta_{1}Y_{i,0}+\beta_{2}Z_{i}$
where...
$Y_{i,1} $=The count from the 'post period' for case $i$
$Y_{i,0} $=The count from the 'pre period' for case $i$
$Z_{i} $=An indicator (0 or 1) of treatment for case $i$
There are $n_... |
In https://en.wikipedia.org/wiki/It%C3%B4's_lemma
Under the section of Poisson jump processes, it is said that
We may also define functions on discontinuous stochastic processes.
Let h be the jump intensity. The Poisson process model for jumps is that the probability of one jump in the interval [t, t + Δt] is hΔt plus... |
Let's say I have a uniform random sequence of 0s and 1s.
I then calculate a 20-window moving average series of this sequence. Meaning the first data point of this MA-20 series is the average of all 0s and 1s between the first and 20th index of the sequence, and the second data point is the average between the 2nd and 2... |
I am trying to build a model which can recommend/predict a followup question based on the previous question.
Like "Did you attend the college?"
a followup question may be "What was your major at college?"
I am trying to build a deep learning model for the same. A approach that seems possible is using "Seq2Seq" model o... |
I am attempting to fine-tune the inception-resnet-v2 model with grayscale x-ray images of breast cancers (mammograms) using TensorFlow. As the images consists of both the left and right breasts, I have opted to do the following preprocessing:
The standard image whitening by subtracting the pixels mean value and dividi... |
A small question
In the book of Rasmussen Page 115 last paragraph. When we have multiple databases you setup a gaussian for each database and the optimisation is said can be done by adding the likelihoods as a single one.
What about the gradients? do I add the gradients?
If I have a simple gaussian with three hyperpa... |
Question: Let $X_1,\dots,X_n$ be iid exponential rate $\lambda$. Suppose we don't know the observed values of our experiments, but we know that $k$ values were $\le M$ and the remaining $n-k$ were $>M$ for some constant $M$. Find the MLE of $\lambda$.
I need to find the likelihood function $L(\lambda; \vec x) $, whic... |
I am trying out VIF in order to reduce the number of variables, by removing highly collinear variables. I will be using VIF in R, but before applying it, does my time series need to be stationary?I cant seem to find a list of its prerequisites. I am currently using principal component analysis and I want to cross it wi... |
Suppose we are training a neural network for multi-class classification, and we use softmax (or hierarchical softmax) as its output layer.
For positive examples, we need to maximize the log likelihood of training examples. We can calculate the gradient of the negative log likelihood for each example, and do stochastic ... |
I see two options:
Apply gradient noise before you apply an optimization method such as Adam (or just SGD with momentum or something else). I.e. you calculate the gradients, then you add noise to it, and then you pass the resulting term over to the optimization method (such as Adam) which will return the updates for t... |
In context to supervised learning, I have been told that the training dataset and testing data set must be obtained from same distribution whichever it is. That is, for a given supervised learning algorithm, if training data is obtained from say, a normal distribution, then test dataset must also be obtained from norma... |
Let $X_1$ and $X_2$ be independent random variables where $X_1 \sim \mathrm{Bin}(m, 1/2)$ and $ X_2 \sim \mathrm{Bin}(n,1/2)$.
How can we prove that $X_1 - X_2 + n \sim \mathrm{Bin}(m + n ,1/2)$?
Can a binomial variate be negative?
|
I'm looking for good references explaining how to design and analyze simulation studies (and, just to be clear, by this I mean the typical study you'd find in many modern papers, where you repeatedly generate data, estimate something and assess performance). The goal is to include this in a graduate computational cours... |
I have a dataset consisting data from 3 persons (2 male, 1 female) for a total of 56 days. Data consists time, location and human activity (3 weeks for male 1 and female, 2 weeks for male 2). I applied HMM to recognize human activity from time and location information and got pretty good accuracy (97%).
The sample size... |
Suppose I have two unfair coins A and B. The probability of A landing on heads is 0.6 and the probability of B landing on heads is 0.5. Suppose now that one coin is picked at random (with a 0.5 probability) and flipped 10 times, giving the result HHHHTHHHHH. What is the probability that coin A was used?
I am most inter... |
$Y_i = \beta_0 + \beta_1 X_i + u_i, i = 1,2,\ldots,N$. Model is heteroskedastic.
I am using an iterative version of weighted least squares, in which I iteratively perform weighted regression, then fit the resulting residuals using some nonparametric approach, and then get back to weighted regression and so on.
Assumin... |
I'm evaluating if the species-area relationship get improved, using Log (SR) and Log (Area) instead of the original data?
In this case, after log-transformation the p-value return non-significant for species-area relationships.
Which do you think is the reason behind this?
This the plot:
|
I have some highly unbalanced panel data set for which I want to construct a predictive model. As the response variable consists of count data I chose to use a Negative Binomial regression model.
Due to possible multiple number of observations per individual over time I would expect the observations per individual to ... |
Before performing word association, we create a term document matrix after removing punctuations, capitals, etc. How does the association algorithm work? Since we have removed the markers to identify sentences and breaks, how would we identify if two words are appearing in the same sentence? Or does the algorithm only ... |
I am given a dataset of EEG Signal of a rat and a system of classes proposed by neuroscientists. The dataset is unprocessed.
I dont know which approach is appropiate. Beeing inspired by speech processing, i have thought of using markov models paired with gaussian mixtures. An advice would be much appreciated
|
I'm creating a distance metric that is composed out of multiple pairwise feature distances.
The distance metric will be used in a clustering algorithm for a computer security problem, more specifically the clustering algorithm will group together related "malicious instances". Our hypothesis is that malicious instances... |
I have two groups of people, N=211 in group 1, N= 310 in group 2.
I would like to combine these groups because they share a certain characteristic that I am interested in. The groups are used in a multiple regression, so I only have the regression coefficients and CI's. They are:
group 1: -.05 (-.21 to .11)
group 2: -.... |
I'm conducting a study in which I'm testing interrater agreement on a new radiologic technique to the pathological evaluation (gold standard).
I've got 58 patients and 15 raters. Raters have been asked to evaluate the degree of cancer invasion ('Deep' vs. 'Superficial') and have also reported how certain they are in th... |
I tried to play with libsvm and 3D descriptors in order to perform object recognition. So far I have 7 categories of objects and for each category I have its number of objects (and its pourcentage) :
Category 1. 492 (14%)
Category 2. 574 (16%)
Category 3. 738 (21%)
Category4. 164 (5%)
Category5. 369 (10%)
Category6. 12... |
I want to evaluate a model that forecasts the amount of payments a company will receive from its customers on a certain day. I want to compare last years forecasts with last years actual payments by evaluating the model's accuracy.
The trick is I'd like to punish the model more for overshooting (predicting over the ac... |
I am trying to conduct the k-means cluster analysis.
Because some variables are highly related, I conducted PCA to reduce variables.
But some variable shows low communalities and the KMO is lower than 0.5.
I would like to conduct PCA only with highly related variables,
and conduct cluster analysis using both, (a subse... |
I am working on a time series model with exogenous regressors. I am using the ARIMA function in R which resulted in a ARIMA(1,0,2) model. I also need to forecast for the next 10 months using this model. I am using the R forecast package predict function for the same:
Forecast<- predict(model, newxreg = newxreg)
Since t... |
Basically the above. To clarify, I'm referring to feedforward networks (would recurrent networks technically have infinite depth). A reference would be appreciated, as I'm going to use this for sixth form work.
|
Say I want to estimate the difference between the means of two (repeated measures) samples, and the statistical significance of this difference. I have in mind the rule of thumb that an estimate is significantly different from 0 if its 95% CI does not include 0.
First, am I correct that, with this rule, one does not a... |
I'm currently trying to propagate the errors of two values:
$A=143^{+28.6}_{-26.6}$ , $B=19^{+10.9}_{-8.7}$ $\rightarrow$ $B/A = 0.133^{+?}_{-?}$
Both values A and B (#counts) are derived from a log-likelihood model fit on poisson data. The asymmetrical errors are due to the low number of events, which means that the ... |
I work in the medical field. I want to calculate a 10 yr risk of cardiovascular disease (CVD) based on a published forumla. That is to say to be able to calculate the same as this page.
But I can't figure out how to implement the published algorithm. Here is the source article.
And here is a supplemental tab that con... |
Let's assume that we have $\ y_i = x_i$$\beta$+$\ ε_i$
I would argue that the estimator is still unbiased and consistent even if we have $\ E[εi|xj] \ne 0 $ since it does not violate the exogeneity assumption.
Would that be sufficient as an explanation?
|
I have a data set in which I want to combine 4 variables into one scale. The variables are open ended questions (e.g., How much would you be willing to pay for ...) and thus non-normally distributed. Usually, I would calculate z-scores and average across the variables to receive a single scale score. But does that also... |
I have some data from mass spectrometry of some plant samples (11 morphospecies and 4 treatments for each). Each species/treatment yields a graphic like the one below.
Each column in the graphic indicates how much of that chemical substance is present in the sample. All the data was assembled in a single table, as sho... |
Can I say that the fact that a sequence of random variables $X_n $ converges in distribution to a random variable $\ X $ means that the probability that the realizations of $X_n $ are arbitrarily close to the realizations of $X $ approaches 1 as $n \to \infty$ ?
|
The canonical link for the binomial is the logit. The linear predictor can be anything so it is usable for the probability after the logit transform is used. The case is analogous for the Poisson distribution. But the canonical link for the exponential distribution is the inverse function, so the inverse of the mean is... |
Many techniques are for two-class classification. What is the recommended techniques to over- or under-sample multi-class datasets?
|
I'm currently working on a logistic regression model and I wanted to pinpoint the VIF for every predictor inside the model. I've found that packages 'car' and 'HH' have the same vif function, so I proceeded computing it using one of the two functions above.
The glm call follows:
logitA1 <- glm(formula = Successful ~ Co... |
I am currently working on my PhD thesis and was wondering how I can identify the optimal number of lags for the Newey West covariance matrix. So far, my code is
library(sandwich)
library(lmtest)
library(dynlm)
Regression <- dynlm(y ~ x)
coeftest(Regression, vcov = NeweyWest(Regression, lag = NULL))
Since I have to... |
I'm trying to implement a Hidden Markov Model to detect past stockouts in sales
(a stockout is when the retailer runs out of a product). It's probably better to say a Semi-Hidden Markov Model, let me explain it.
Let's say I have a year of hourly data about sales of a product in a retailer.
VARIABLES IN THE MODEL:
... |
I'm looking for confirmation on my understanding of a 'statistically significant' effect.
For example, let's say that eating apples has a statistically significant positive effect on health (given that you can quantify health in some way). This does not mean that everyone will benefit from eating apples. Rather, it mea... |
I am comparing scores of two student groups using t-test (in scikit-learn). Each group has different number of students. Since there are considerable numbers of 0 scores in my data, the standard deviation gets even higher than the mean for the groups. So, I wonder, in this case, if it is still acceptable to keep the 0 ... |
I have a small data set (140 observations) which is quite unbalanced (5% of 1's) with an independent binary variable Y and a set of correlated covariates X1,…,Xp. My primary goal is: let’s suppose we have covariate X1, which yields an OR=2.0, and X3, which yields OR 1.6. My goal is to test whether X1+X3 risk sig. diff... |
I've created a random forest model which predicts if a team will win a match (assuming no draws), and returns a probability of that occurring.
The features that are trained on include various statistics, such as a team's average win rate over the last 4 years coming into the match, the name of the opposition, and the f... |
I have a dataset of the times that events happen. I noticed some clustering of events but I know that even assuming a random uniform distribution some amount clustering will inevitably occur. How do I test whether the clustering I see is random or non-random?
Edit:
Example data:
11 Jan 2017 18:45:37
11 Jan 2017 19:05:5... |
CO2 and global temp: Can you model relation between two measures if one is monotonic?
In 1998 the "hockey stick" paper was published in Nature (Mann Bradley Hughes Nature April 1998 v392 pp 779-787). This was supposedly mainly Mann;s dissertation work, so I will say "Mann."
Mann basically took a bunch of predictors and... |
I have some demographic transition matrices that I want to compare using a log linear analysis, but am having some trouble with model construction in R. I have read through several tutorials on log-linear, but they don't seem to cover my specific case.
I have two transition matrices, where the column represents state ... |
Assume we have an estimator $\bar{\theta}$ for a parameter $\theta$. The bias of the estimator is the difference between the true value of the estimator, and its expected value:
$$\operatorname{Bias}(\bar{\theta}) = \operatorname{E}(\bar{\theta} - \theta)$$
If $\operatorname{Bias}(\bar{\theta})= 0$, then $\bar{\theta}... |
I have a two-part data set comprised of treated and untreated values. When plotted on an X,Y axis, one expects the data two fall into two distinct lines with no expectation that either the slopes or the intercepts will be the same.
I am modeling this with a categorical/indicator value as follows, in order to capture ... |
The necessary and sufficient conditions for learning to occur in the task of binary classification are among the fundamental results in learning theory.
In the sources I'm familiar with, this theorem is stated for hypothesis class of functions from the instance domain $\mathcal X$ to $\{0,1\}$, w.r.t. the 0-1 loss (see... |
I want to calculate the average path length between any two nodes in a directed graph that contains cycles.
The reason this is not trivial is because there is an infinitive number of paths between most nodes due to the cycles, even though longer paths become increasingly unlikely.
One "empirical" solution is to run a... |
I have a model that is giving me the below autocorrelation plot of residuals. I'm not sure how to interpret it since it seems somewhat in the middle.
The correlation drops quickly, but it doesn't look much like the chart I found in this article. Since it seems to be in the middle should I do another test on it? O... |
I have a discrete distribution on $[0,\infty)$ that I can write down the algebraic expression for, but I can't compute it numerically for my desired parameters - basically, even a few probabilities would require too much computer time and memory, so it's computationally infeasible. It's really unfortunate because being... |
Consider the following data sets:
Set 1:
X | Y
---+---
1 | 1
2 | 2
5 | 5
Set 2:
X | Y
---+---
1 | 1
2 | 4
5 | 13
For both of these data sets, the Pearson correlation coefficient is 1.0 - they are in perfect linear relationship with each other. However, for the first set, the "magnitude" (excuse my lack of p... |
I have access to the percentages of referring to "X" for 10 different ethnic groups. Let's say, A1 to A10 as shown below
A1: 9.22
A2: 11.40
A3: 12.68
A4: 17.89
A5: 19.53
A6: 19.84
A7: 29.34
A8: 30.77
A9: 32.56
A10:41.82
As clearly seen here there is a huge difference between A1 and A10 ethnic group in referring to "X".... |
I have data from a process that converges over time, although the time to converge is variable and the convergence process is quite non-linear. Moreover, the convergence can be to saturation either approaching 100% or 0%. I've drawn an idealised sketch to exemplify:
It is fairly clear to the eye which of high/low en... |
Dr Frank Harrell mentioned in his book and BIOS 330 course that
Accuracy score used to drive model building should be a continuous score that utilizes all the information in the data (e.g. Brier score, log likelihood, deviance, mean square error)
I am wondering:
In what sense are these scores "continuous"? Is it con... |
I have a dataset with three variables: "Category", "X", and "Y". "Category" can be one of 5 different values: say A, B, C, D, E.
I know that X and Y are correlated (say their correlation coefficient is 0.4).
I can compute mean(X), mean(Y) for the entire data set, as well as mean(X | Category = A), mean(X | Category = B... |
As you know, the random forest algorithm and k-fold cross validation (except the case of Leave One Out) involve randomness. Thus a typical 10-fold CV in one run results in a certain variable importance values and a different run (with a different seed value, thus different splits in data) will result in different varia... |
The variance of a t-distribution is given by df/(df-2), hence the t-distribution with 1 and 2 degrees of freedom have no defined variance. Yet these distributions do exist and can be drawn, so one would say that their variances can be calculated. I hope somebody can explain this without using too much mathematics, as m... |
The Problem
Let $U$ and $R$ be independent random variables where $U\sim \text{Uniform}(0,1)$ and $R$ has pdf $f_R(r)=r e^{-r^2/2}$ on $(0,\infty)$. Define the random variables
\begin{align}
X &= a + b \cos (2\pi\, U), \\
Y &= c + d \sin (2\pi \, U).
\end{align}
where $b,d \ne 0$.
Find the marginal distributions of $X$... |
How do I estimate confidence intervals / credible region for parameters of Beta Binomial distribution? Specifically: from the data with variable number of trial, e.g. there are several experiments with different number of trials and success counts in each. Also for parametrization I'd like to use the proportion and di... |
I am doing a decision-making project to determine political preferences by answering questions about every candidate's program and then scoring these questions by themes (ecology, economy) for each candidate with the difference between their scores and the score of the voter. Then we apply [Electre ranking method][1] (... |
Here is the documentation for statsmodel's ARMA fit function. My issue is that it does not specify the form of the model it is fitting, i.e. is it fitting $a(L)y_t = b(L)\epsilon_t$ or is it fitting the regression form
It's a bit confusing because statsmodel's ARMA generation assumes the form $a(L)y_t = b(L)\epsilon_t... |
Fundamentally I want to know:
Do employees who promote a product, sell more of that product?
The problem is that employees who promote the product is arbitrarily defined:
I sample customers to determine if the employee promoted the product
Each employee has x samples (x can be different for each employee)
A sample can... |
My input variables have different dimensions. Some variables are decimal while some are hundreds. Is it essential to center (subtract mean) or scale (divide by standard deviation) these input variables in order to make the data dimensionless when using random forest?
|
When using logistic regression for predictive modelling, the choice between 'standard' logistic regression vs ridge vs LASSO versions of logistic regression seems relatively straightforward - just pick the method that gives the best predictive performance on test data (unless there are additional considerations about w... |
I am trying to fit a nonlinear mixed effects model, and here is my train of thought. So my model (I'm thinking) should be:
$Y_{ij} = f(\theta_i, t_{ij}) + \epsilon_{ij}$ where $f(\theta_i, t_{ij})$ is some nonlinear function.
In my data set, I have
Time: Number of days after disease is diagnosed (this varies from sub... |
I would like to study the performance of the regression model (parametric and non-parametric). For that matter, i need to simulate the data that have the same skewness and kurtosis of the residuals but in different number of observations (sample size, n). How can i do that in R?
For example, let i need to simulate 3 s... |
In Applied Linear Statistical Models (Kutner et al) an example on weighted least squares is given.
Dataset: Age versus Diastolic Blood pressure
Regressing DBP on age results in the following model
$$\hat Y = 56.157 + 0.58003 X$$
But a residual plots show the megaphone-alike shape which would imply heteroscedacity.
... |
Let's say you have a lottery, in which you select 4 numbers between 1 and 36. The person running the lottery draws 4 numbers as well. If you have any numbers that match (1, 2, 3, or 4) you win a prize. Of course, each of these has a different probability of winning––it's much more likely that you'll have 1 number that ... |
I have a question about the last step of the proof of conditional probability of the restricted boltzman machine in the deeplearningbook.org
Below are the derivation from the book:
Shouldn't equation 20.15 be
$P(h|v) = \displaystyle\prod_{j=1}^{nh}\sigma((2h_j-1)\times(c_i+\textbf{W}_{:,j}^\intercal \textbf{v}))$... |
experts! Maybe, you know how to calculate confidence interval for xgboost? Classic formula with t-distribution can't help, because my data aren't normally distributed. Or doesn't matter?
If you'll suggest some literature, it will be very useful, but approaches in R and Python (in context of library xgb) good too.
Perha... |
A biased estimator is one for which the difference of the expected value of the estimator and the true value of a population parameter does not equal zero. If we gather a bunch of samples' averages (countably many) and take the average of that collection of samples, the mean should equal the true value of the parameter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.