instruction stringlengths 9 38.7k |
|---|
If I standardize the coefficients (scale() command in R) of a beta regression with a logit link, how do I interpret them? I would say:
Of how many standard deviations (SD) the log odds of the y changes for a one SD increase in the covariates.
But is this correct?
|
I have a simple question about when corrections such as Bonferroni should be applied.
Say I have a research question for which I have three separate dependent variables, and run three separate models for each dependent variable, and in each model there are three parameters - In principle, how do I correct the alpha val... |
Let's say that for some observation I build a likelihood function. Then the point of maximum of that function will give the ML estimate of the parameters.
Is there a way to quantify the "confidence" (I am not sure if this is the right term here) of the estimate from the likelihood function? Indeed, I would expect that... |
Can someone explain the meaning of "shared frailty" in survival analysis in layman english ? a concrete example of where one would use this would also be very helpfull. thx
kindly Stig
|
I have a data collection contains many variables as inputs and the output is the daily cash demand in an ATM.
How can i select the most important variables which have the most influence on the output (Demand) to to use in my forecasting Model based on Neural Network?
Thank you.
|
Using:
$$
\begin{align}
P(A =1|B=1) &= 0.9\\
P(A =1|C=1) &= 0.9\\
P(A=1) &= 0.5
\end{align}
$$
I want to know the probability of $P(A=1|B=1,C=1)$
I also know that $B$ and $C$ and independent as well as conditionally independent given A.
My approach was to use the following:
$$
\begin{align}
P(A|BC) &= \frac{P(BC|A)P(A)... |
How do you interpret a coefficient of $\beta=0.0307 $ in this model?
$ \frac { \Delta Y _ { t ,t + k } ^ { i j } } { Y _ { t } ^ { i j } } = \mu _ { j } + \beta \frac { \Delta P _ { t ,t + k } ^ { i j } } { P _ { t } ^ { i j } } + \epsilon _ { t ,t + k } ^ { i j } $
Where $i$ is neighbourhood, $j$ is city, $\mu_{j}$ is... |
First note, related: What is the formula for Standardized Root Mean Residual (SRMR) in the context of latent variable models (e.g., SEM, CFA)?
I was wondering what the adaption to the formula should be in case of multiple groups or longitudinal data (i.e. several time points).
As provided in the related / linked qu... |
Something mesmerizes me in R:
Why are they differences in my correlations depending on the
function/package I use and
Which package::function should I choose in what circumstances
Consider the three following examples using the Iris Dataset:
stats::cor.test
cor.test(iris$petal.length, iris$petal.width, method='pear... |
What is the best / typical way to plot the training and validation loss during the training of a neural network? Specifically, I am thinking of this as a task in order to help diagnose under / over fitting - perhaps for early stopping or some other method of parameter tuning (e.g. paper)
Here I am assuming there is a t... |
I read a paper which briefly mentions that the Mean Squared Error (MSE) of Vector Autoregression increases with the dimensionality. In detail, let $Y_t$ an $k$-dimensional process which I want to estimate using a VAR(p) model, i.e.
$$Y_t = A_1 Y_{t-1} + \dots + A_p Y_{t-p} + u_t$$
where $u_t$ is a $k$-dimensional whit... |
It is known that if the transition probability matrix of a Markov Chain is regular, the chain has the positive limiting distribution (limiting distribution with all elements positive).
Does the converse hold? i.e., If a Markov Chain has the positive limiting distribution, is its transition probability matrix regular?
... |
I'm trying to make decisions regarding Random forest parameters for classification. My dataset contains 26 features and 6300 instances. How can I decide the values of (the number of trees, number of features, number of the bootstrap sample and the minimum node size) is there any formulas I should calculate help to deci... |
Assume fixed design regression model $Y = \mathbf{X} \beta + \epsilon$ with common assumptions. Lasso estimator $\hat{\beta}_\lambda$ can be shown to have the following bound.
For any $\delta > 0$, define $\lambda_0 = \sigma\sqrt{\frac{\log\left(p/\delta\right)}{n}}$. Let $A_0 \ge 1$. With With probability at least $1... |
I'm following this tutorial about random forest and the first figure shows three decision trees. The author states that
Tree one and two would vote that she survived, but tree three votes
that she perishes. If we take a vote, it’s 2 to 1 in favour of her
survival, so we would classify this passenger as a survivo... |
Background of my question:-
In Linear Regression through R we can mention the direction="both"/"forward"/"backward" in step(lm()) function to tell R for choosing the best set of variables based on AIC. The output which we get is the final selection of a reduced number of attributes that best explains my dependent varia... |
I am trying to forecast hourly wind speed (HWS) data in Trinidad and Tobago and I have read in the literature that "Direct application of stochastic models (ARMA & ARIMA models) to HWS series is not possible due to their non- Gaussian distribution. To resolve this problem, and with the aim of simulating HAWS, Daniel an... |
I have a problem where I have to predict the winner of a game. There could upto 10 players in each game and there is always one and only one winner. Each player also gets a rank in the game (the winner is obviously ranked 1 in the game).
I have a dataset with the history of hundreds of games and the winner of the game ... |
I am working on my dissertation and a question dawned on me after I ran my analyses.
I studied whether the interaction between marital conflict and gratitude on mental health differed between first-married couples and remarried couples.
Descriptive analyses revealed significant group differences between all the varia... |
In introducing unstandardised residuals and standardised residuals for diagnostic plots, my instructor said the following:
Using the unstandardised residuals is usually of little consequence in
diagnostic plots.
Why is this the case?
I would greatly appreciate it if people could please take the time to clarify this... |
I need to calculate the standard error of the kendall tau and pearson r correlation coefficients. Unfortunately I couldn't find any formula or python code to calculate them. Any suggestions on how I can calculate the standard error of two methods? And what are the equation/formula for the standard error of both methods... |
I am curious about the appropriate statistical test to compare the results from a chi-squared proportion test in R.
In the below code, using a chi-squared proportions test in R, it is shown that the difference between "1" Responses for Group A1 and A2 is significant at > 95%. The difference is 90% 1s vs 10% 1s
It is a... |
Suppose we have a logistic regression model:
$$\begin{align}
P(y=1\vert\mathbf{x}) &= p \\
\log\left(\frac{p}{1-p}\right) &= \boldsymbol{\beta}\mathbf{x}
\end{align}$$
Given a random sample $D=\{\mathbf{X},\mathbf{y}\}$ of size $N$, we can compute confidence intervals for the $\boldsymbol{\beta}$ and correspondingly pr... |
I am looking for help with the interpretation of a complicated interaction term.
I am using a fixed effects model.
The interaction term is:
Code:
c.log(corruption)#c.d.log(military expenditure as a % of GDP)
where (corr) = corruption is a continuous variable with log transformation
where (dlm) = military expenditure as... |
I am interested in the setting of differential privacy- let's say a random function $\mathcal{D}:X\to\mathbb{R}$ discriminates between (distinct) $x, y \in X$ in a differentially private way if
$$
\mathbb{P}(\mathcal{D}(x) \in S) \le e^\epsilon \mathbb{P}(\mathcal{D}(y) \in S)
$$
for all (Borel) subsets $S$ and also th... |
I have data from an experiment where participants performed a task many times. I arrange the trials into blocks so that 32 trials make up a block and I have 8 blocks. It was a between subjects experiment with 8 participants per condition and 4 conditions.
I measured whether a participant successfully completed the tas... |
How do I interpret the coefficient from an equation that has a logged dependent variable and an inverted control variable? My model is of the form:
$$\ln Y = \frac{\beta}{x} + \text{other terms} + \varepsilon.$$
The partial derivative with respect to the control variable $x$ is:
$$\frac{\partial}{\partial x} \ln{Y} = ... |
I am trying to simulate functional data using specified bases and a set of random coefficients. For example, I can generate a function on $[0,1]$ with Fourier basis like
$$f(x) = \sum_{i=0}^k a_i sin(2i\pi x) + \sum_{j=1}^k b_j cos(2j\pi x)$$ with the coefficients $a_i$'s and $b_j$'s.
My questions is, unlike Fourier b... |
I am researching the effect of an innovation type on firm performance. In my quantile regression model, the relationship between my IV "innovation" and and DV "firm performance" is non-significant (p=,7). However, the moderator "firm size" is highly significant (p<,001).
Is this possible? And how should this be interp... |
There is a population of objects where each object has two independent attributes, each of these attributes being continuous and having normal distribution (known).
Is there a general way to infer what proportion of these objects will fulfill a condition which is given by a simple function between these attributes?
X(... |
In R, I was running pairwise t tests after a significant ANOVA. To understand better how pairwise t tests work, I set the method to adjust p-values to 'none', I was thus expecting to have exactly the same as if I was comparing 'manually' each group. However, this does not seem to be the case.
Why is that?
Here is an ex... |
I need help with one question from one MOOC quiz I am currently doing.
Question
Recall from an earlier question. Suppose that diastolic blood pressures (DBPs) for men aged 35-44 are normally distributed with a mean of 80 (mm Hg) and a standard deviation of 10. What's the probability that in a random sample of 5 subject... |
Suppose that we have data, $D$, and two parameters we want to learn about, $\theta_1, \theta_2$. We will usually put priors on $\theta_1, \theta_2$, then have the expression:
$$
p(\theta_1, \theta_2\mid D) \propto p(D\mid \theta_1, \theta_2) p(\theta_1) p(\theta_2)
$$
I am wondering why most set-ups assume that the pri... |
Suppose that in a Bayesian framework we have observed data $D$, using independent prior distributions on the parameters of the model, denoted by $\theta_1, \theta_2$. Then, the joint posterior distribution of $\theta_1, \theta_2$ can be written as:
$$
P(\theta_1, \theta_2 \mid D) \propto P(D \mid \theta_1, \theta_2)p(\... |
This is one of the slides from Andrew Ng course on deep learning. Actually I took it from Jason Brownlee website that seems to second the idea presented on the picture.
However, my limited experience shows that after some point the line stats to head down. I use Keras with EarlyStopping to prevent overfitting. The add... |
I fit a statsmodels.tsa.statespace.sarimax.SARIMAX model (statsmodels==0.8.0) but I'm getting unexpected forecasting behavior, in which the forecast has a negative slope (see last plot at the bottom).
Below are my endogenous and exogenous data, which have hourly sampling frequency. The endogenous variable appears to ha... |
I'm doing a market basket analysis of items purchases in particular stores. Each dataset contains over 5 million transactions. I'm currently processing this in R, but it seems my computer can't handle such a large data file.
I notice that there are a lot of single-item purchases. Is it valid to disregard single item pu... |
The algorithm for deep Q learning is taken from here https://ai.intel.com/demystifying-deep-reinforcement-learning/
I am confused about how the target is calculated, and why it is so.
To train the network, first, we perform an action and get a new state $s^\prime$
We store the state in the replay memory $D$
Now we sa... |
I want to build a system, that can classify known classes in a supervised way and at the same time tells if there is a new anomaly class it has not seen before. The user can then label that unknown class (as normal or a certain failure class) so it will be detected next time.
I can imagine two approaches:
A) 1 classifi... |
I am encountering quite an annoying and to me incomprehensible problem, and I hope some of you can help me. I am trying to estimate the autoregression (influence of previous measurements of variable X on current measurement of X) for 4 groups that have a positively skewed distribution to various degrees. The theory is ... |
Wikipedia defines convergence in probability as
A sequence ${X_n}$ of random variables converges in probability towards the random variable $X$ if for all ε > 0
$$\lim_{n\rightarrow\infty} P(|X_n-X|>\varepsilon) = 0$$
I wonder why the limit $X$ is a random variable. I think $X$ as a r.v. can only be a constant, and def... |
I am trying to get into SEM and factor analysis. I understand a factor is a latent construct, say e.g. $intelligence$, user-defined by the (weighted) average of a set of indicators $x_1, x_2\dots x_n$. The $x_i$ load (i.e. correlate) on the factor differently and the loadings should be over $0.40$ at minimum. So far so... |
When performing a chi-square test, one inputs the expected counts (via integrating probability distribution over respective bin bounds) and observed counts into the chi-square formula (denoted below).
I am told by a friend that when performing a chi-square test, one must impose a threshold such that any bin counts les... |
The following scenario:
Customers come to the center and get in touch with the information and wait until they are called from the waiting area. (As with the doctor, for example)
Customers should not wait more than 10 minutes. This maximum waiting time varies from day to day. This means that more waiting time can be c... |
I have a KPI with a formula to calculate, what I do is actually calculate the value of the KPI for the whole population (2245 individuals or input), the formula is:
v1+v2+v3 / a1+a2+a3
Where vi and ai are the sum of all the values of the variable for every input, i.e for example v1 represents the sum of all the 2245 ... |
I did an experiment where I am comparing control vs. three drug treatments, each at three different concentrations, and each concentration has 4 replicates. The outcome is signal intensity. I am unsure about the statistics to use.
The method I am currently using is:
ANOVA to look at whether signal intensity is signifi... |
I wrote a simple RNN program to create function which fits y = sin(x). I trained the network by giving 0 < x < 2*pi and y = sin(x) data. And then I checked the wave generated by the trained network. Seeing what wave trained network generate, while x is 0 < x < 2*pi, the shape of the wave seems like sin wave, but if x i... |
I have X in which each row is a sample and each column is a predictor.
I de-mean X first and then construct the co-variance matrix
$A=X^{T}X$
after that I do PCA
$AP=PD$
while each column in P is an eigen vector and each element in D's diagonal is an eigen value --- in a sorted manner.
Now, here comes the question: wha... |
Suppose for the AR(1) model,
$$Y_t=\phi_1Y_{t-1}+e_t$$
I want to find the variance $Var(Y_t)$ using lag operator:
$$Y_t=(1-\phi_1L)^{-1}e_t$$
My way is simply taking the variance,
$$Var(Y_t)=(1-\phi_1L)^{-2}\sigma^2=\sigma^2/(1-\phi_1)^2$$
But obviously, it is not the correct answer, which is $\sigma^2/(1-\phi_1^2)$.
I... |
I'm working on a time series problem, with additional predictors. While I'm exploring various ways to approach the problem, one possible way is to turn the time series problem into a supervised machine learning problem, i.e. use $(t-k), ..., (t-1)$ to predict $t$, where $k$ is the number of lagged values (as described ... |
What is a probability heat map? In general, what is a heat map? Many papers on neural networks use probability heat maps for visualisation. My understanding is that heat maps are plots of (typically continuous) values where there is a one-one correspondence between the range of values displayed and a spectrum of colour... |
I want to answer the following question: what is the relationship between binary variable A and binary variable B?
In my case variable A is a marker for the presence of the flu, and variable B is a marker for the presence of another pathogen. Usually I would ask "what is the correlation?" but I know that a (Pearson) co... |
I would like to ask what method do you use in statistic, to avoid making conclusions too fast.
For instance. Country natural resources vs poverty
Observing Nigeria for example, may lead you to conclude that the richer a country is in natural resources, the more poverty it has. Is there a method you can use to prevent ... |
I have a data that consists of spectrum value at each wavelength (from 0 to 920). There are 5 different classes and spectrum value at specific wavelength decides to which class an input belongs to.
Consider this graph :
As you can see, the data is not really separable, as at wavelength 200 classes have all the same spe... |
When using step wise regression to select variables to include, and if running multiple regressions over the same population within different subsets of the population, is it necessary to run the variable selection process over each subset of the data and find the relevant variables for each subset, or simply to find t... |
If we have a covariance matrix $A$
$AP=PD$
where $D$ is a diagonal matrix which contains all the eigenvalues
then if the variance of the eigenvalues is very small, what does this tell us about $A$?
Intuitively, I think this tells us that the distribution of raw data is like a circle (in a 2-d sense) rather than an oval... |
I've conducted ols regression analysis on stock market index KLCI (dependent) and 2 other independent variables that includes exchange rate (ER) and interest rate (IR). And the result shows that i have 0.044 for r-sqaured while -0.042 for adjusted r-squared. By looking at the result, my lecturer told me that the model ... |
I am completely in over my head with logistic regression at the moment, so what follows is probably very basic and silly questions. But I would appreciate it hugely if anyone took the time to respond nevertheless!
I will be conducting a cross-sectional analysis involving data from a large cohort study. My goal is to lo... |
Source: (Harvard Statistics 110: see #17, p. 29 of pdf).
A couple decides to keep having children until they have at least one boy and at least one girl, and then stop. Assume they never have twins, that the "trials" are independent with probability 1/2 of a boy, and that they are fertile enough to keep producing chi... |
Imagine we have three people and we want to select one of them at random.
If we had a fair coin we could have tossed the coin twice to get one of the 4 outcomes and could have related the occurrence of any three of them with the first, second and third person..
How can we do this if we have a biased coin instead?
|
How would you interpret a panel model regression where the dependent and independent variables of interest are first differenced?
Dependent variable = growth rate of GDP per Capita d.log(GDPperCapita)
Independent variable = growth rate of military expenditure as a % of GDP d.log(militaryexpenditure%ofGDP)
Both variable... |
Forgive the simple question. I have divided up the sample population into quartiles based on initial house price. I have regressed the same econometric model on each quartile, so for example for regression (2) I dropped all observations with initial house prices above the 25th percentile then ran the regression then r... |
Can AIC/BIC be calculated reliably for a segmented regression model?
If so, can the results be compared against AIC/BIC calculations for non-segmented regression models on the same data?
|
I am new to the Johansen Test, have been using the ADF test but due to its limitations I am trying to switch over. I have taken data (1 hour bars) for 4 symbols and passed it through this function link the results are bellow. Also is a chart of the data plotted. To plot I took the eigenvectors results for $r = 0$ and m... |
I am using SAS to fit SEM to cross-sectional data from 2015. My
theoretical model fits well with the data. Because I also have data
from 2005 onward, I was thinking to fit the model with 2005 and 2010
data (all cross-sectional) and see how the goodness-of-fit indices,
factor loadings and path coefficients change. I wou... |
how can i see the sample size of a linear regression? i would like to know a demand, which gives me the samplesize. I did some linear regression and the variables contains different samplesizes. Thank you.
|
I need to make a barplot with error bars based on the average of a column in excel. So one column is number of times an elephant swayed titled "Swaying", the other column is called "Species" and the two different variables under the species heading column is African and Asia.
So essentially I need to make one barplot o... |
Generative models are useful because we can sample vectors from them.
Discriminative models supposedely don't have this feature. But what's stopping us from sampling vectors that are "within the hypothesis"? Imagine we draw a circle around the cat vectors. And we can then randomly sample points within this circle to "g... |
Suppose that we have a model $Y_i = \beta_0 + \beta_1X_{i1} + \beta_2X_{i2} + \dots + \beta_kX_{ik} + \epsilon_i$.
Regression has a number of assumptions, such as that the errors $\epsilon_i$ should be normally distributed with mean zero and constant variance. I have been taught to check these assumptions using a norma... |
I want to choose a random vector in high dimensions such that it all directions have the same uniform chance (i.e. isotropic in all directions). My current idea is the following algorithm:
sample v from a high dim multivariate Gaussian
then normalize that vector by dividing by its norm
I believe this is sufficient bu... |
From what I've read I've understood that undersampling the majority class with Tomek Links or Edited Nearest Neighbours with 1 neighbour should yield the same result. However, I've tried it on this library I've been working with called imbalanced-learn, and I got different outputs. In the documentation both methods are... |
I am asking this out of curiosity, as I can't seem to find articles that describe a simple, yet standard procedure in turning raw data into models and valuable insights (i.e. visualization).
Is there actually a simple step-by-step procedure which I (assuming that I am a beginner to the field of data science) can follow... |
I've implemented a custom kernel called the Partial Tree Kernel (designed for text classification) for my SVM. It doesn't use feature vectors as input; instead, documents are parsed into a data structure called a dependency tree, and the kernel is computed directly between these trees. (Don't worry if you don't underst... |
I am trying to run an SPSS analysis on two dependent variables (DVs) that are part of a total group of DVs that sum to 1. That is, my research question was how people spend their time on one of the three activity categories, and I asked them to indicate the proportion of their time spent on each of these activities: A,... |
Suppose you had a random sample of r.vs X_i , i= 1....n . What is the likelihood of 2 * pdf(x) * cdf(x) , with pdf and cdf of the standard normal distribution?
|
I'm working on an analysis on GDP growth. I want to test whether regional growth in GDP in a time frame can be explained by the growth of air traffic in a preceding period (and controlling for some variables like education etc.)
Why would you use Granger causality rather than a regular regression and see if the coeffic... |
I am trying to understand why testing for non-inferiority requires pretty much the same sample size as testing for superiority (I assume the latter is the same as a one-sided test for a given MDE).
I was asked how big a sample we need to test that a certain change to our website's backend has no (negative) effect on vi... |
Suppose two coins $C_1$ and $C_2$ are tossed and suppose further that $C_1$ was tossed $40$ times and $C_2$ only $20$ times. The outcome for $C_1$ is $8$ times heads and $32$ times tails. For $C_2$ we have once head and $19$ times tails. My question is, what test do I use in order to try to show that the probabilities ... |
Background
I'm currently reading the book Data ming: practical machine learning tools and techniques and came across the following ROC curve:
The text corresponding to this figure:
Method A excels if a small, focused sample is sought; that is, if
you are working toward the left-hand side of the graph. Clearl... |
I have some trouble to calculate chi squared statistic with R.
My data and code are:
> library(MASS)
> dput(wstocks_lo)
structure(c(0.528307031905727, 0.0239930086670024, 0.430621410717852,
0, 0, 0, 0, 0.0170785487094175, 0, 0, 0, 0.205292252213616, 0,
0.794707747786385, 0, 0, 0, 0, 0, 0, 0.205292252213616, 0, 0.7... |
In this post I would like someone to summarize and relate these 3 concepts of statistics (in the context of stats).
1) I remember that uncorrelated does NOT imply independence (e.g. the case where the RV $X=Y^2$, correlation=0 but they are dependent in a nonlinear way.
(as mentioned here:https://en.wikipedia.org/wiki/U... |
When evaluating the cost of a neural network during training, should I always expect the cost function to converge towards exactly zero?
Without regularization being applied, the cost converging to 0 would be the desirable behavior, right? (forgetting about overfitting for now)
However, if applying regularization (L2 f... |
I have a demand for extremely fast acceptable-quality random number generator (RNG). This means rand()%2 should not alternate between 0 and 1 (that totally kills the simulation, as in one problem I indeed to rand()%2 every second time rand() is called). In my simulation, speed is absolutely the most important criterion... |
I've been reading the following link: http://cs224d.stanford.edu/lecture_notes/notes1.pdf, with the relevant content starting on page 6.
Some background on Continuous Bag of Words
The continuous bag of words (CBOW) model takes a context (e.g. a sentence with a word missing), and predicts a word that should fit into the... |
When tuning my neural net with Bayesian optimization I want to determine the optimal number of hidden layers and the corresponding number of neurons in each hidden layer. The problem is that with an increasing number of hidden layersthe vector of hyperparameters gets longer, because for each hidden layer added I need o... |
I need to make a network meta-analysis of diagnostic studies.
Is there a good explanation to do it with R?
|
Consider a State Space Model, where the observed process is $Y_t$
$$
Y_t = B F_t + \epsilon_t \\
F_t = \Phi F_{t-1} + \nu_t $$
where the error terms are white noise. Later on, I want to compute the state vector $F_t$ with the Kalman Filter.
I often find the assumption that $(F_t)_t$ is stationary in the literature ... |
If $X$ is a random $N \times D$ matrix where $N > D$, then why is the rank of X - mean(X, 1) $D$ while the rank of X' - mean(X', 1) $D - 1$? My initial thought was that both should be $D$, but then I found this answer which mentions that the rank is reduced by one when the rows of X are centered. This makes some sense,... |
I an new to stats! I need to analyse left and right handed bias. So my data shows 66.9% of right hand use (in overall tasks) and 33.1% of left hand use in one set of subjects (study set 1) and 45.3% right hand use and 54.7% left hand use in second set of subjects (study set 2). For the write up I need to include statis... |
I believe that I have somewhat an understanding of the objective and loss functions associated with Support Vector Machines (SVM), however, one point is still confusing me: The fact that the margins of the SVM can be characterized only by the Support Vectors is often named as a reason for their efficient optimization.
... |
I'm attempting to solve an old exam question and am running into some difficulty.
Would appreciate if anyone could tell me if my approach is correct and tell me how to get to next step. Here is the question.
"A dart player throws a dart on a target centered on the bulls eye. The impact coordinates $(X,Y)$ of the dart a... |
I have to generate an out-of-sample forecast for an assignment at university. The question asks that I select an in-sample period, from 2008-2017, for the returns on my portfolio. I am curious as to what is the most appropriate time period to generate forecasts beyond here. I am unsure of whether the intuitions regardi... |
I have two models that I've trained using different ML algorithms. I want to compare how well they match each other as a test of whether they are generalising the training set or simply memorising it. I could calculate the coefficient of determination of one wrt to the other but that biases one as a superior model. Are... |
I am currently having a problem with my network, it either overfits with the training data so i tried to solve the problem by applying dropout layers to all my hidden layers. This in turn made it so my network is now underfitting and never getting all the neurons passed a MSE of 0.1. The network itself isn't that big w... |
TL;DR: Why is $\text{avg}\left(|a-b|^k\right)=\frac{2}{(k+1)(k+2)}$? I.e. for $k=2$, as for finding average Euclidian distances, the result is $\frac{1}{6}$?
I've been reading a book about "Corobs," and having little understanding of math and statistics, I've been wondering why this particular (paraphrased) formula is ... |
I have seen in different sources that, when adding L2 regularization to the objective function of our task, we need to average this regularization term by the number of examples. However, I have also seen it without this averaging. I know it is just a matter of scaling, but I would like to know if there is any general ... |
I have the below sets of data per application, you can call them as software metrics. These metrics vary depending on the size of an application.
Bugs
CodeSmells
Vulnerability
The size of the application is determined by LOC (Lines of code), how can i showcase the complexity of each app relative to the lines of code i... |
I'm looking through my notes and something my lecture said seems off, just want to clarify.
"Let $Z_1,\ldots, Z_n$ be iid N(0,1) random variables and let $\overline{Z}$ be their average. Then $\overline{Z}$ is normal with mean 0 and deviation $\frac{1}{n}$. So
$$\frac{\overline{Z}-0}{\frac{1}{\sqrt{n}}}=\sqrt{n}\over... |
Let $X_{11},X_{12},\ldots,X_{1n_1}$ be a random sample from $normal(\mu_1,\sigma^2)$, where $\mu_1\in\mathbb{R}$ is unknown and $\sigma^2>0$ is known. Further let, $X_{21},X_{22},\ldots,X_{2n_1}$ be a random sample from $normal(\mu_2,\sigma^2)$, where $\mu_2\in\mathbb{R}$ is unknown.
I want to conduct an LRT for testin... |
Suppose we know that there exists sequences $a_n$ and $b_n$ such that $$\lim_{n \to \infty} F^{n}(a_n x+ b_n)=H(x)$$
with $F$ a distribution function and $H$ a continuous distribution function. Now let $x_n$ be a sequence with limit $x^{*}$. Furthermore it is known that $a_nx_n+b_n \leq a_{n+1}x_{n+1}+b_{n+1}$. I wish ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.