instruction stringlengths 9 38.7k |
|---|
I'm reading this paper, which trains an autoencoder to perform background subtraction on an image. The use SGD batch training with binary cross entropy loss function to train the autoencoder on D training examples ${x_1,...,x_D}$. The trained networks response to the training examples are ${y_1,...y_D}$. However there ... |
(Cross post from math.stackexchange.com because I just discovered this site)
In a Support Vector Machine, the margins are defined as
$$\vec{w}\cdot\vec{x_i}+b\ge1\text{ for }x_i \text{ in class }+1$$
$$\vec{w}\cdot\vec{x_i}+b\le-1\text{ for }x_i \text{ in class }-1$$
I understand that minimizing $\Vert w \Vert$ will ma... |
Briefly, my question is whether the results of a GLM (negative binomial) for a categorical variable should agree with the results of a non parametric test--in this case a kruskal-wallis test.
This question may be an artifact of my particular data set, but I'll attempt to explain. I am looking at fish counts with respe... |
A country has a population of 40 000 000 people.
I have a sample with data for 1 500 000 people from this country.
In this sample 1.9% of people have a "pair" (one or more) with the same first name, last name and date of birth (but who is not the same person).
Can I use this information to compute how many people in th... |
What test to compare pre and post test both Likert scale (1 to 5). N=5. Have looked at t-test, Wilcoxon and sign test. Don't know if assumptions for the tests are met.
|
How do you guys organize your ML/data science code and rapidly explore new options? I took an OOP course in college, but I've been at a loss as to how to structure my code.
For example: I have separate data files. Each one can have NaN values imputed in a number of ways: using median, mean, setting to zero, elimination... |
I am forecasting sales based on an e-mail data set.
In the the dataset I have sales as well as the quantity of emails sent, the number of unique opens, unique clicks and unsubscribers. I have only two categorical values of type and category. I cleaned the whole dataset so it's by year and week.
I was requested to cre... |
I am looking to use a Decision Tree to classify whether or not a car will sell based on attributes of that car. The attributes that I have include price, year, mileage, condition (new, pre-owned, or used), number of cylinders (4, 6, 8), transmission_type (manual, auto, other). I have complete data for nearly 1,500 ca... |
In biology experiment we often collect a sample of animals and measure their lengths. The length of a animal in the population is a random variable, so that we can estimate the probability mass function (if we treat length as discrete intervals) by counting the proportion of animals fall into each length intervals.
In... |
One of the results why canonical link functions are widely used in GLMs is the existence of sufficiency statistics for the regression parameters, which in turn allow for:
... minimal
sufficient statistics for the regression parameter exist which allow for simple interpretation of the
results ...
a statement which... |
I have a poverty dataset with rows containing different places and different years and together with the poverty percentages in those places. I have to predict the poverty percentage for next year. (Note: 50% poverty means 50% of the population is under the poverty line)
Overall I have over a thousand rows. But I don't... |
If I have a continuous probability distribution, say normal, it's clearly theoretically continuous and values can be anywhere within it's range (+/- infinity I guess to infinite precision).
I then take samples always to a precision of two decimal places, say 0.00 to 5.00. Is the distribution continuous or discrete th... |
I have data for thousands of basins (rain, model streamflow, other indicators). But obviously, these basins can be clustered as there is something called catchment similarity. Similar basins are not not dependent on geographical proximity, but a wide number of factors. So, to develop a post-processor (eg. http://www.ad... |
I have a matrix $Sample$ of sampled random values.
I can calculate the mean of all values in the matrix and the corresponding standard error $SE_{Sample}$ of that mean (not sure whether that's a correct thing to do).
I can also calculate the per-row/per-column means and corresponding inter-row/inter-column standard err... |
In random effects model, we have a term that together with the idiosyncratic error, forms the error of the regression.
Do you have to include an actual variable there (for the term) or is it just there?
|
I would greatly appreciate if you could let me know how to choose among different parametric distributions including gama, Weibull, lognormal, loglogistic and etc for panel (time series cross sectional data) survival analysis or discrete time survival analysis in STATA 14.
I read these materials but they are about cont... |
I'm a stats noob, so I don't really understand the statistic tests that the authors Ross, Greene, and House use to justify their results in their paper "The 'false consensus effect'".
For example, in their first study they are looking at how personal agreement affects how much a participant thinks other people would ag... |
If I have to prove my machine can infer with an error rate 0.01, that means I have to test it with at least 100 test samples with a single wrong answer.
Is there any way to prove error rate testing with less than 100 test samples?
I know that the test is to validate your model and knowledge, you can't screen test sampl... |
How can investigate publication bias for diagnostic tests in meta-analysis with R?
I saw this topic "Publication bias in meta-analysis of diagnostic accuracy in R?" but there is no answer yet!
|
I'm using the concurvity function to check for concurvity in my model - a negative binomial GAM using the mgcv package in R. The output I get when comparing to the rest of the model (ie full=TRUE) shows many of the variables have concurvity values higher than 0.9. However when comparing the terms pairwise most values a... |
Let $(X_{1},\ldots,X_{N})\overset{d}{=}(Y_{1},\ldots,Y_{N})$. Show that $P(X_{1}<\cdots <X_{N})=P(Y_{1}<\cdots <Y_{N})$.
Remark: I know that the equality in distribution is preserved under measurable functions, but I do not know how to use it. Actually, I do not know if this fact works in this situation.
|
In a model, is there any issue with including two covariates (Longitude and Latitude) in order to measure the effect of "position" on the outcome variables?
The reason I am unsure of this approach is that we are using two separate covariates that really represent one general covariate called "position", and I am wonder... |
This is my understanding of what the Central Limit Theorem (CLT) is: if you take a number of samples, each containing a large number of observations, and calculate their respective sample means, then these sample means will have an approximately normal distribution, regardless of the parent population's distribution.
... |
I have performed a 2 x 2 x (2) split-plot analysis on raw scores of a questionnaire. The questionnaire was taken twice by participants, once before and once after the intervention in question. A reviewer has suggested:
(1) that the split-plot analysis does not sufficiently take account of 'spurious differences in bas... |
I attended a conference on ML and Data Science and I have a general question that was not answered in the conference.
If we have a continuous variable, let's say age. What is the best way to handle this variable. These are my thoughts, please let me know if they nonsense, but in general I think it is a very important a... |
Proposition 1,
The optimal discriminator is
$$
D^{*}_G(x) = \frac{p_\text{data}(x)}{p_\text{data}(x) + p_g(x)}
$$
At the proof, I couldn't understand about change of variables with integral.
Why the first line is changed to second line?!
$$
V(G,D) = \int_x p_\text{data}(x)\log(D(x))\,dx + \int_z p_Z(z)\log(1-D(g(z)))... |
This is a very specific question that is being debated in my lab but I think has broader implications as well.
In which direction should snow depth be presented visually?
We are hydrologists and typically in the field we map moisture using darker blues to represent more moisture. However, we map snow depth a lot and in... |
I was doing CS109 lab. There I saw this written:-
"By the way, there is a problem with pre-doing feature selection before doing cross-validation. Ideally one should be doing the feature selection separately in each fold. The reasons for this is basically that there is a high probability that a feature correlates strong... |
I have a model in R that looks like this
mdl.CL <- lmer(Y.CL ~ 1 + TL*PL*GO + (1|SUBJ), data = data.CL)
in which TL has 3 levels, PL 6 levels, and GO 2 levels only.
Now, I'd like to test the effect of GO. However, if I use both anova and summary, I obtain results that I am not sure on how to interpret. In particular... |
I've written in last post about two groups of data (case-disease) that need to be compare. This time I don't have binary data but variable data. Example below:
Sample bacteria1 bacteria2 bacteria3
s1 0.5 0.7 0.1
s2 0.03 0.02 0.9
s3 ...
I have 100 samples with disease and 100 samples as control.
To compare the differe... |
I'm using DESeq2 Package in R for RNA-SEQ Analysis. Using Count Matrix. DE analysis is between two groups for eg: like Normal vs Tumor.
To select for the significant differential expression of genes in RNA-seq do I need to consider both FDR and log2FC (or) only FDR is fine?
When I consider the cutoff FDR < 0.05 & log2... |
We use t-SNE to visualize multidimensional vectors into 2D or 3D space, and if my understanding of this algorithm is correct, we can compare it to PCA as it also provides dimensionality reduction.
My question is how can I check if my t-SNE with certain parameters is doing a good job (as explained variability metrics f... |
hope someone can help me out with some stats for a data set I have- I originally thought it was easy but I think I'm over complicating everything in my head.
Ok so for example- I'm looking at the body length of dogs. I've taken measurements of 20 individuals of each breed and I've done this for 10 breeds. I now want to... |
I am analyzing a simulated example from the rqPen R package where a quantile regression model with LASSO penalty is fitted:
library(rqPen)
n <- 1000
p <- 7
rho <- .5
beta <- c(3,1.5,0,2,0,0,0)
R <- matrix(0,p,p)
for(i in 1:p){
for(j in 1:p){
R[i,j] <- rho^abs(i-j)
}
}
set.seed(1234)
x <- matrix(rnorm(n*p),n,p) ... |
I wanted to prove the correlation between 8 variables. I used spss MANOVA
MANOVA S K A E WITH D AC C AS / discrim all alpha(1) / print=sig(eigen dim).
But I don't get the canonical correlation all I get is the regression analysis and I get the following warning:
The WITHIN CELLS error matrix is SINGULAR. These var... |
Applied microeconomics often choose propensity score matching (PSM) to "preprocess" their dataset, making two groups (treatment and control) looking more similar. But sometimes, PSM did not so well. For example, some character has a natural trend, like urbanization in many developing countries bring new-build flat furt... |
I have been performing Cox mixed effects regressions using coxme in R. These models have survival as the response, up to 6 interacting fixed effects and 2 random effects in the full model. I am concerned that multicollinearity may be occuring. For example I use the yields of several crops; if these are influenced by cl... |
I'm having problems with forecast and SARIMA.
Got successfull estimation when looking to white noise residuals, but they don't fit as a normal distribution.
Box-Ljung test
data: residuals(Receita_futura)
X-squared = 0.01207, df = 1, p-value = 0.9125
Shapiro-Wilk normality test
data: Receita_futura$residu... |
We treat tumor cells with compound A, compound B, compound A + B mixed, and compound A-B linked respectively with different concentrations of compound(s) for each group, and we have controls (total 5 groups). We measure the gene expression for each group.
One of our goals is to find out if A-B linked & A + B mixed cau... |
In parallel tempering mcmc you want to sample a probability density $p$ and to do this you sample $p$ and $p_i = p^{1/T_i}$ for a sequence of temperatures $T_i$. When $T_i$ is big the distribution is more flat and then you can swap states of the $p$ and $p_i$ samplers in order to ensure that the sampler for $p$ explore... |
I'm not sure when to use $\frac{1}{\sqrt{n}}$ and when to use $1.96\sqrt{\frac{p(1-p)}{n}}$.
Are they both used to calculate the confidence interval at 95% for a population proportion?
Here are two questions from my book.
In a survey in a large city, 170 households out of 250 owned a pet. Find the 95% confidence inter... |
Consider the distribution shown in the below histogram:
I have computed a Welch's t-test for a difference in means between these two groups, as well as a Kruskall-Wallis test to see whether these two groups come from the same distribution. Both test statistics were statistically significant at p < 0.001. Looking at th... |
I'm reading an article in the most recent issue of ORMS Today that touches on p-hacking and makes the following comment:
The null hypothesis is rejected when the p-value is sufficiently small, under the assumption that the alternative is the more likely explanation. Of course, in any large number of experiments, a "si... |
A friend of mine is working analysing 2000 twits per day and categorize them as postive, negative or neutral.
This is a really boring task but the algorithms that do this classification are not very good because they can't detect sarcasm.
A simple solution to make more easy this task is to do a subsample of the origin... |
I am building a GLM model on a large data set. The main variables thought to be relevant are X_1,...,X_7. I think the interactions X_1*X_3 and X_2 *X_4 might be significant, so I'll include them initially.
There's a rub. I am pooling data from 4 different countries that I suspect are roughly similar (there might be som... |
I am new to rolling regressions, but am currently trying it for my current research. As the post title suggests, I'm trying to assess my specification. What I have now is:
ŷ = β0 + β1*x + ε
But I'm wondering if I should include a time trend as a right hand side variable. My data structure is time series, 5 years of da... |
I have a data set with a binomial response and am trying to determine the best way to model it. Based off of this post I believe I need to use a GEE vs a mixed effect model since I am interested in population average effects.
I am trying to model if a sales person will stay employed for at least 1 year. I have monthly ... |
I am doing a classification modelling(using R and random forests) for a website where only 2% of the visitors convert. Now given the behavior and attributes of a visitor I want to predict probability of conversion.
The data collection process was pretty complicated and finally I had 3 month data available for 3166 case... |
I am quite new to sampling method.
The task is sampling without replacement with unequal probabilities, but I have problem in calculating inclusion probability.
I want to sample $n$ units from the population of size $N$ through the following procedure in the figure. After the procedure, I need to calculate the inclusi... |
I was wondering whether there is some accepted graphical way of reporting and inspecting sphericity, i.e. visualizing the pairwise differences and their variances (other than looking at the var-covariance matrix itself)?
I skimmed my textbooks and papers at hand, but found no hints obvious to me. What am I missing?
Thx... |
Do I have to worry if the insignificant coefficient have a wrong sign?
say for example: coeff is -0.05 with significant of 0.890.
|
I'm trying to estimate the following CES production function --
$\log y=\log\gamma-\frac{\nu}{\rho}\log\left(\delta K^{-\rho}+\left(1-\delta\right)L^{-\rho}\right)+\epsilon$
So I use the following R code --
Data <- read.csv("Table.csv")
logy <- log(Data$Q)
K <- Data$COST*Data$SK/Data$PK
L <- Data$COST*Data$SL/Data$PL
... |
Suppose we have a dataset that includes dozens of attributes, that are all correlated with each-other. I would like to better understand which variables affect which other variables in a causal way, preferably as a system of regressions. The classical approach would be to setup a structured model, identifying manually ... |
I am doing a machine learning project where I'm attempting to predict the arrival times of buses equipped with GPS at bus stops, and I am very new to statistics/data analysis. I am looking for an error measure that would take into account the time at which the prediction is made.
For instance, let's say I have a data ... |
First, my probability game is pretty elementary and many of the probability formulas still look pretty intimidating.
That said, I am trying to understand how to calculate the probability of a run of $x$ within a larger set of total tosses.
Specifically, what is the probability of getting $7$ heads in a row in a total o... |
I'm surveying a population of student in a university, and due to distance and time issues, I cannot go to every campus to survey everybody. This is why I have decided to do an online survey. So I got two options:
I send an open invitation for every (or at least 99%) of the students, thus having the self-selection bia... |
I have made a good linear regression model with following step:
Data Integration
Data normalization/scaling(data preprocessing & feature engineering)
Model Building(using linear regression with SGD using cross validation)
Testing
My question is if we use this model in production environment then how can we do feature... |
I am having fun with Savitzky-Golay (aka H-P, W-H) and I am bumping into limits of the filter. It makes me want a better filter.
Is there a filter that adjusts filter order based on "slope" but that also, like Savitzky-Golay filter, has forms that lead cleanly to nice estimates of derivatives for the data?
It soun... |
I have an experiment which is examining thickness of hair before and after a certain treatment. I have 2 different treatments. I calculated the effect size in R of the treatments and found the confidence interval of the effect size to include 0, meaning the difference in thickness of hair after a treatment was not affe... |
I have this set of data (I altered it here), and I have no idea what statistical analysis to use for it. Any help would be appreciated, I know that I cannot use a chi squared, as it did not work.
The percentages are simply independent variables that are not actually data.
https://docs.google.com/document/d/1ZUD2zGUyb... |
Given an event rate at 1 year= 7% and a Kaplan Meier survival estimate for the same event at 1 year = 8.5%, is it possible (and how) to back calculate n(%) of subjects censored before 1 year, e.g lost at follow-up/not completing study?
|
I have been asked why and how entering time series data in a random order (i.e. not consecutively in the order they were observed) can have an effect on the outcome of a test for autocorrelation. Additionally, what the relationship between the estimates of the coefficients of the two data sets (ordered by time and rand... |
If my conditional posterior $\pi(\sigma^{-2}|\mathbf{y
},\mu)\sim Gamma(a,b)$, how can I get the conditional posterior $\pi(\sigma^{2}|\mathbf{y
},\mu)$ with a transformation? The reason I ask is that the question asked to find the latter posterior but gave the prior $\pi(\sigma^{-2})$. I would really appreciated your... |
For designing a spike generator within a computer program, we can use
the fact that the probability of firing a spike within a short interval is
P(one spike)=r.dt.
Now imagine that our rate, r, is composed of two other rates, i.e., r1 and r2. assuming that r1 and r2 are independent therefore we have
P(one spike)=r1... |
Suppose that $X_1$ and $X_2$ are i.i.d normal random variables with mean 0 and variance $\sigma^2$. Let $(X_1, X_2)$ determine the coordinates of a point moving randomly in $\mathbb{R}^2$.
What is the probability that the point is at least $c$ from the origin?
This is the same as $[1 -\mathbb{P}\left(||(X_1, X_2)||_2 <... |
I would like to estimate a SUR model with an unbalanced panel and with cross equation restrictions. This does not seem possible with the standard SUR commands in Stata or R. Do you have an idea which program and or package I could use?
Thx
|
I have often read that predictors can or should be transformed to ease interpretation of the slope or intercept, or to standardize the coefficients. With this in mind, I attempted to rescale year in a data set, and met with unexpected behavior.
The following reproducible example stemmed from data including a year effec... |
I'm trying to find the probability that someone will return a product they purchased given a certain amount of days that have passed since their initial purchase.
For example, assuming a normal distribution and that I have 60 samples, with a S.D. = 34 days and Mean = 55 days, how can I determine the probability that so... |
Study design: pre-test (questionnaire) treatment post-test (same questionnaire as in pre). A higher questionnaire score in the post compared to the pre indicated a successful treatment effect.
Like in a t-Test I want to compare significant differences between pre and post scores (if the treatment had an effect) but not... |
I have data with $N$ genes, each having some $m$ observations. I am testing two hypothesis for each gene. These hypotheses are distinct (they test different parameters), but are assumed to be correlated due to the underlying science. They are distinct in the sense that they are measuring different parameter $\theta_1$ ... |
I have a question regarding logistic regressions.
Meyers et al. (2013) say that "It is possible to create a linear relationship between the predictors and odds" (p.533). They are referring to the predictors in a logistic regression. However, they also say, after introducing the idea of log odds, that "This transformati... |
Say I have the classic mediation scenario, with predictor X, potential mediator M, and outcome Y. My thought to test whether mediation is present would be to do the following:
Set up one structural equation model with only the direct effect of X on M (i.e., setting the mediating coefficients from X to M and M to Y equa... |
I have one natural data set of biological data from my lab such as binding energy, exon type and oligo length etc. And my goal is to train a model to predict skipping rate. I used weka with no filter on my data and set the number of fold for cross-validation to be 10. (I have 515 instances in total) I used the greedy o... |
Recently I am working on a project and I found my cross-validation error rate very low but the testing set error rate is high, which might indicate the overfiting of my model. But why my cross-validation does not overfit while test set overfits??
More specifically, I have about 2 million data with 100 variables (n>>p).... |
Let's imagine a Q-learning version of the supervised learning problem of guessing a digit from MNIST database. In this game, the initial state is the 28x28 image pixels. You have 10 possible actions, labeled from 0 to 9. And the reward you get is $R$ if you correctly guessed the digit, 0 otherwise. After each image/gue... |
Let $X \sim Gamma(3,3)$ and $Y \sim Exp(1)$.
How do I calculate $P(X>Y)$?
I believe I rewrite it as $P(X-Y>0)$ but I am unsure how to calculate $X-Y$ for two different distributions?
|
I have been thinking about a path from p-value to Leave One Out Cross Validation (LOOCV). I figure if I can get to AIC then I am good as AIC is asymptotically equivalent to LOOCV.
This is the basic flow.
pvalue -> wilks statistic -> KL distance -> AIC -> LOOCV
p-value can be linked to the LRT from the Wilk’s Likelihoo... |
In linear regression, I've seen (granted, not many) situations where basic transformations to some of the predictors can significantly improve the fit and stability of the model, and often a scatterplot of the response variable vs each individual predictor can provide useful clues as to whether a transformation can hel... |
I have a questionnaire that asked people to endorse the top three types of internet based activity they engage in (binary yes/no for each category of activity, 22 categories). I want to examine whether type of internet use is related to a continuous measure of social behaviors. My first thought was linear regression,... |
If I take Fig.3 of the paper "Deep residual learning for image recognition", and look at the following piece of the residual network:
$3\times3$ conv, 64 filters
| (X) (suppose shape is 14*14*64
v
$3\times3$ conv, 128 filters, stride=2
| (X') (shape will be 7*7*128
v
$3\times3$ conv, 128 filters
|
v... |
For some reason, I am a bit confused about interpreting regression coefficients. Some of my regression independent variables are in percentages (expressed as decimal values) and some in integers. The dependent variable is price expressed in USD.
How do I interpret coefficient of a percentage variable?
Is it, keeping ... |
I have a dataset of 480 cells (observations) by 57 variables (48 are gene expression levels). Multiple cells (approximately 24) are sampled from within each patient. Therefore, I have have a variable for patient ID, 48 genes, and clinical information for each patient. My main exposure of interest is location by which t... |
I'm plotting my RF feature importance using the method shown here.
Where the error bars in the plot are defined by:
std = np.std([tree.feature_importances_ for tree in forest.estimators_],
axis=0)
However, the resulting error bars are huge, and even range into the negative range. I'm not quite sure what m... |
Can generative adversarial networks be applied to reinforcement learning?
Like imitation learning or inverse reinforcement learning?
|
Do there exist standard methods for summarizing high-dimensional multivariate posteriors, in particular to determine how much overlap exists between two separately estimated posteriors?
The R package 'ks' provides functionality for kernel smooths in up to 6 dimensions. In a different context (designed for summarizing m... |
I am analyzing the accuracy of different clinicians when it comes to providing presumptive diagnoses. I am comparing dentists and physicians for accuracy of referrals. My data is as follows: 33 cases the MD diagnosed correct, 14 cases the MD was incorrect. 115 cases the DDS diagnosed correctly. 76 cases the DDS was i... |
I have 2 time series for temperature recorded with 2 sensors in 2 site in a bay. The sensors were recording with the same frequency and during the same period of time.
The 2 sites have different depth (A=deep, B= shallow).
I want to be able to say if the shallow site is warmer than the deep one or not.
I am not inter... |
I am trying to solve the equation 2.19 to 2.20, but I'm struggling to find the end of the problem.
$ \sum [L(G,\hat{G}(X)]p(G,\hat{G}(X))$
$ \sum_k \sum_X [L(G,\hat{G}(X)]p(G)p(\hat{G}(X)|G)$
And then I cannot find the same equation if I try to replace by expected value
|
Let's say that I have a Truncated Normal Distribution (from a to b) with mean $m$ (where $m$ is the mean of the truncated Normal) and not known std. I know the probability for the range $m-d$ and $m+d$ (this range is within the truncation points, of course). How do I proceed in calculating the variance of this RV?
Th... |
I am doing a one way analysis of variance to test whether the mean of an observation varies across groups. I'm using R's oneway.test rather than anova because I have thousands of groups and oneway.test is faster. How can I measure the effect size? Is there a way to calculate the $\eta^2$ using the output of oneway.test... |
I want to perform a test to compare education level of living people and education level of death people. I got the data of education level for living people from the census of 2010. The data of education level for death people from the CDC. The data looks like this...
Living people education level
+-------------------... |
Let $Z_{1},\ldots, Z_{N}$ be i.i.d. continuous random variables with rank vector $\mathbf{R}^{*}=(R^{*}_{1},\ldots,R_{N}^{*})$, where $R_{i}^{*}$ denotes the rank of $Z_{i}$ among $Z_{1},\ldots, Z_{N}$, that is, if $Z_{(1)}\leq \cdots \leq Z_{N}$ are the orders statistics of $Z_{1},\ldots, Z_{N}$, then $Z_{(R_{i}^{*})}... |
Suppose I have a jar of equal numbers of 10 different types of marbles (green, blue, etc.), and I randomly select (and then replace) a marble a thousand times. Consequently I can expect that I will pick each type of marble roughly 100 times, but how can I calculate the formula which describes the probability density fu... |
In the paper introducing DQN "Playing Atari with Deep Reinforcement Learning", it mentioned:
Note that when learning by experience replay, it is necessary to learn off-policy
(because our current parameters are different to those used to generate the sample), which motivates
the choice of Q-learning.
I didn't qui... |
RMSE (Root mean square error) and SD (Standard deviation) have similar formulas.
This link says
The only difference is that you divide by $n$ and not $n−1$ since
you are not subtracting the sample mean here. The RMSE would then
correspond to $\sigma$ . Therefore, the population RMSE is $\sigma$
and you want ... |
I have a set of 500 values out of which 20 are relevant to my project and will be used to train for ML.
Should I take the 20 values and then normalize them or normalize all 500 and then extract the subset?
What factors influence this decision?
|
I have recently realised that the way I thought the multinom function in nnet was running is not actually the way it is coded. I have looked high and low for information on how the models are actually created with regards to baseline, continuous etc. I thought it worked on the baseline method, by creating a reference... |
I have a large 400000 $\times$ 400000 dataset (dissimilarity matrix) and I want to do multi-dimensional scaling on it. However, after looking at the generic cmdscale() function in R, it only takes maximum 46340 $\times$ 46340 matrix as input. Is there any way I can work around this? Also, does Python has the same kind ... |
Let $X_1, X_2, \ldots, X_n$ be independent random variables, where $X_k \sim Unif(0,k)$.
Let $Y_n = X_{(1)} =\min\{X_1, X_2, \ldots, X_n\}$
Show that $Y_n$ converges in distribution to $Y \sim exp(1)$ (the exponential distribution with mean 1).
I will let $F_k(y) = \mathbb{P}(X_k \leq y)$ be the CDF of $X_k$.
Then, I ... |
Following PyMC3 code fails:
import pymc3 as pm
with pm.Model():
pm.Poisson("pois", 10)
trace = pm.sample(1000, step=pm.Metropolis())
Any idea why? (fails also if I switch to NUTS sampler).
Stack trace:
---------------------------------------------------------------------------
TypeError ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.