instruction
stringlengths
9
38.7k
Is it okey to assume that, if I have trained my neural network for image classification using k classes using a Softmax output function, whenever I feed an image that does not belong to any of the k classes used for training, the output of the Softmax will be the highest for the class that the network believes this new...
My data looks like this: There is a weekly pattern of seasonality and a yearly pattern. And the variance is not constant over time (so no arima, but I want to model an arima-Garch suggested by the literature). I smoothed the data with a ma-smoother: detrend = ma(data$b, order = 7) # order 7 for weekly seasonality The...
I ran regression models on two sets of data, and their plots looked parallel, so I ran a t-test on their slopes and they are indeed different. I'm wondering what I can quantitatively take away from their difference? I would like to be able to combine the two models into one model by adding a coefficient (the differenc...
Assume I have the following structure. Black dots represent semilandmarks to be slid, and red dots are "anatomical", or "fixed", landmarks. They are both dependent on each other, so that the position of the red dots depends on the position of the black dots. Would running a procrustes analysis with sliding on this so...
I am struggling to interpret a interaction term. A 1% point increase in military expenditure growth, leads to a X% point change in GDP growth. what is a 1% point increase in military expenditure growth? i.e. is it a 1% point increase in the rate of increase of military growth. For example from 5% to 6%. OR is it 5% ->...
I have a dataset of the cars and their corresponding speed and distance and the R output. I am asked to find weights for the first 2 cars. First I find the residual for each car: $e_i=Y_i-\hat{Y}_i$ Then $w_1=\frac{1}{e_1^2}$ $w_2=\frac{1}{e_2^2}$ Weights are given by $w_i=\frac{1}{\hat{s}^2_i}$ where $\hat{s}^2_i$ ...
I'm doing a hypothesis test question but I am stuck. Here is the question. Suppose $X_1,\ldots, X_n$ are iid $N(0,\sigma^2). $ Suppose the hypotheses being tested are $$H_0=\sigma^2\geq \sigma_0^2 \quad\text{vs}\quad H_A:\sigma^2\lt\sigma^2_0.$$ Show that the power function of the test based on the rejection crit...
Lets say I have a panel of adjusted-R2 statistics from some regressions involving experiment / survey data. Can I regress these adjusted-R2 statistics on a constant to find the average adjusted-R2, and the 95% confidence interval associated with the average R2? In particular, I have data on multiple individuals and co...
This question was asked in an interview At a company, say ABC, the hiring department collects data on interviews conducted by its employees. The data we have contains 4 variables, timestamp, employee_id, candidate_id and a candidate_score that ranges from 1 - 4 where each record represents an interview. We do not know ...
What test can be used to indicate a $p$-value when both sets of data in a comparison have standard deviation of 0? For example, Set 1 has values of 1, 1, 1 and Set 2 has values of 5, 5, 5. Or is it OK to just say that since the standard deviation are 0 for each set and no numbers are the same in each set, that the $p$-...
What is the null hypothesis? And how would I find the t-value if I have to drop them simultaneously?
I have a sales data set, whose behavior (in basic scatter and time series plots) is as follows: plot(myData[,'sales']) plot.ts(myData[,'sales']) It clearly has a seasonality. Now the ARIMA(p,d,q) that I fit on this series should have a d > 0, because that d is the degree of differencing, per ARIMA documentation. Bu...
Came across a few plots in Chapter 2 of Introduction to Statistical Learning and saw that the x-axis on some measure model flexibility. However, the book doesn't seem to mention how model flexibility is actually measured, or what units it is measured in.
Say we have $X \sim Unif\{1, \ldots , \theta\}$ and we want to find the uniformly minimum variance unbiased estimator for $\theta$. My first assumption was $X_{(n)}$. Which I managed to show is complete sufficient and unbiased. Can I conclude that this is UMVUE? Is there a theorem which would say that: If a statistic i...
I have 2 gamma distributions $X_1 \sim Ga(13,1) \\ X_2 \sim Ga(3,1)$ Where we are defining our gamma distribution probability density function for a random variable $X \sim Ga(a,b)$ to be $f(X) = \frac{b^a}{\Gamma(a)} x^{a-1} e^{-bx}$ ie $b$ is the rate. Calculating the KL divergence for these 2 distributions gives me...
Let's say that I have a [32*32] image and i want to convolve a 5*5 filter on it. The result of this convolution will be a 28*28 image. But how do we know that it will give a 28*28 image. Is there a formula to assert ? A Beginner's Guide To Understanding Convolutional Neural Networks
Main Question: How do I apply e.divisive method from ecp package effectively on multivariate time-series, so that the resulting segments and changepoints are consistent with domain knowledge and the process is efficient? Background I have data of cars moving in a lane. In the car-following literature, the movement of a...
So, this is a freshman probability problem and I am embarrassed to p[ost it, but I have been up for 35 hours and my brain is broken. I have an urn with 60,000 white balls and 6 red balls. From this urn I make 60,000 draws with replacement. What is the probability that I draw no red balls? Doing this numerically, first ...
Intuitively, if I want to update two parameters in one step, I have to come up with a proposal that are good for both parameters. Assuming that the parameters are independent, is it correct to demonstrate this intuition by saying the following? if the probability of accepting the proposal for one parameter is X, the...
Christy et al. propose cluster-based approach to outlier detection as part of the preprocessing step. However, I don't think the plots are very interpretable. The authors use the R mclustbic function to determine BIC at different cluster sizes using GMMs - what is this supposed to show? I would think the plots are des...
I am reading Gaussian Process for Machine Learning Chapter 2 and I have a question about the subfigure (c) in figrue 2.1. The slope is much more "well determined" than the intercept. I was wondering why is it. So I derive the distribution for likelihood.We know that the linear model is \begin{gather*} f( x) =\math...
In a Cox regression model where our variable of interest is continuous (e.g., a lab measurement); If we want to obtain something other than a unit risk ratio for that variable (e.g., the hazard ratio of mortality among people who are in Quartile 4 (>75 percentile) vs Quartile 1 (< 25 percentile) for the lab measurement...
Suppose that the rate at which a Markov chain leaves state i at some time t is $\lambda_{i}$. I.e., What is the rate at which $X_{t}$ leaves state i. Then, $\lambda_{i} = \sum_{j\neq i}q\left ( i,j \right )$ is the rate at which a Markov chain leaves a state i for j. From observation, $\lambda_{i} = \sum_{j\neq i}q\lef...
What is exact way to do k-fold cross validation? A) Way 1 : 1. Split data into train set, test set 2. Apply k-fold validation on train set 3. Find best estimator from average of each validation score 3. Calculate final score on test set with best estimator B) Way 2 1. Apply k-fold validation on entire data 2. Calc...
I have a dataset which has a column representing the number of children. The values vary from 0 to 6. But the issue is that there are many entries which have values like 84, 94, 97, 98 and 99, which obviously cannot be the number of children. And I do not know what these numbers represent. I am struggling, because I do...
I was reading through a derivation of an entropy of a sum example, and cannot understand one step. The statement to be proven is if $Z=X+Y$ then $H(Z|X) = H(Y|X)$, where H() is discrete Shannon entropy. The derivation: $Z = X+Y$, Hence note $p(Z=z|X=x) = p(Y=z-x|X=x)$. \begin{align} H(Z|X) &= \sum p(x) H(Z|X=x) \\ &= ...
I have a within-subject design where I compare two conditions: experimental and control. However the variable has 4 categories and I would also like to see which categories are causing that difference. I don't know which test I should run. I tried with t-test, but I am not sure. For example variable F = total number of...
On page 4 of this article, the authors wants to find the normalizing constant $c$ but it is very hard to compute so I used the same formula to bound $c$. Take the non-negative integers $~0 \leq x_1,x_2,...,x_r \leq X$ where $\sum_{i=1}^{r}x_i=X$. Using the the Multinomial distribution to find the probability of $x_1,x_...
One of the benefits of using the SPP technique from https://arxiv.org/pdf/1406.4729.pdf is to be able to generate fixed length feature representation for images at different scales. For example for a 224x224 images, with 6x6 conv5 layer, we can use pooling with 4-level pyramid(1x1,2x2,3x3 and 6x6). And the same techniq...
Suppose $ \{X_1, \dots , X_n \}$ is a random sample from: $$ f_X(x; \theta) = \frac{1}{\theta} \text{, for } 0 \leq x \leq \theta $$ The Likelihood function is easy to calculate: $$ L_Y(\theta; y) = \prod_{i=1}^n \frac{1}{\theta} = \frac{1}{\theta^n}, \text{ for } 0\leq x_{(1)}, \dots , x_{(n)} \leq \theta $$ whe...
I'm finding unexpected results, and I'm unsure if I did not make a mistake somewhere. In OLS regressions using a full sample, I find that the slope of the independent variable of interest is 0.03 and significant. However, when I divide the sample into two subsets (whereby I divide the sample about 50/50) I find signif...
I am doing k-means algorithm on iris data using two functions, the regular "kmeans" and "Kmeans" from amap package. irisCluster <- kmeans(iris[, 3:4], 3, nstart = 20,algorithm = "Lloyd"); irisCluster$withinss #[1] 13.05769 16.29167 2.02200 irisCluster2<-Kmeans(iris[,3:4],3,nstart = 20,method="euclidean"); irisCluster...
I want to know whether we can calculate accuracy for principal component regression in R. The Target variable has only two values 0 or 1. I tried factoring training $ Target and validation $ Target variable but it says col(y) must be numeric. So leaving it as is. pcr.fit <- pcr(training$Target~.,data=training, valid...
I am trying to model my data, which is the response to a ray of light on a film screen, using the following model: $$f(x_{out},y_{out}) = \sum_{i=1}^{3} a_i exp{\left(-\left (\frac{x_{out} - cx_i}{b_i} \right )^2 - \left (\frac{y_{out} - cy_i}{b_i} \right )^2 \right)} \tag{1}$$ Where $a_i$ is the weight/amplitude, $b_i...
I have a dataset, always considered log-normally distributed, from which I calculate a median value (0.735). In a book, I have seen someone using similar data but calculating related median value by taking the antilog of the mean of log10 of these data. I get 0.69 instead with this method. What is the point of using th...
I have to compare the two strategies to choose optimal parameters of my NN. I have the following reasoning. Please tell if it is correct! In train-validation-test split case, the validation dataset is being used to select model hyper-parameters and not to train the model hence reducing the training data might lead to h...
I have performed correlation analysis between y and seven different variables (x1,x2,x3,x4,x5,x6,x7). In some cases, result shows zero order correlation is positive and partial correlation is negative (for ex. y & x3). How can I explain this result? My results are: control variables----------zero order corr (partial co...
I am fetching trending topics from social media where the frequency of likes is said to follow a Zipf-Mandelbrot distribution; i.e., some of the posts will have a high number of likes and some other very few. So far I collected about 100 thousand samples and I want to calculate the s and q parameters. I looked at the s...
What are the rules of designing a good convolutional neural (such as VGG [1], Inception [2] Resnet[3], DenseNet[4] and so on...) network from scratch? What would be a recipe to start designing your own architecture? Many meta-learning and architecture search algorithms (e.g, [5]) break-down the architecture design task...
I'm trying to find out whether personality (tetrad) effects sexual fantasy, sexual behaviour and sexual attitudes. In addition I want to find out whether gender has an effect on all of this. What statistical analyses should I use? I'm not sure whether it's MANOVA or multivariate multiple regression????
I have been experimenting with different methods for tuning our search engine's field boosts. In Solr or Elastic Search, you specify the importance of matches in each field when configuring the search engine. The ranking function is complex and non-differentiable, so I have been looking to use optimization algorithms a...
If I have a distribution where \begin{align} f(x,n) \propto \frac{e^{-3x}x^n}{n!} \text{where X is continuous and N is discrete} \end{align} Using the example from my textbook (Intro. to Stochastic Processes with R by Dobrow), I tried to identify the distribution for X and N. \begin{align} \text{Assume n as a fixed con...
I'm doing a secondary analysis on a large sample of children from 4- to 18-years-old using logistic regression. In addition to analyzing effects of predictors (age, sex, IQ, autism severity, medical conditions) on the outcome (sleep problems) in the full sample of children, I did analyses in groups stratified by sex an...
There are 2 people A and B and 2 experiments: • Experiment 0: $A$ flips a fair coin (probability $\frac{1}{2}$ for HEADS and $\frac{1}{2}$ for TAILS) and sends to $B$. • Experiment 1: $A$ always sends TAILS to $B$. $B$'s goal is to output a bit indicating which experiment it is in. For $i = 0, 1$ let $W_i$ be the even...
I have a set of generalized linear models fit to 5 multiply imputed datasets. I am interested in testing the statistical significance of a set of predictors, coded from dummy variables. Rubin's Rules makes conducting 1 degree of freedom Wald tests very easy, since the general form of the test statistic $\hat{\beta}/SE...
1]1I have the results from an experiment . The groups are 1. Saline 2. Treatment 3. Saline + X inhibitor 4. Treatment + X inhibitor My hypothesis was that treatment acted by influencing X and inhibiting X will make Saline and treatment group same. The experiment proved my hypothesis. My comparison groups (with ea...
I have a data-set containing only Categorical Variables. I needed to do Principal Component Analysis on the data set. Eventually, I found Multiple Correspondence Analysis and learnt it. But, in MCA, it's assumed that, each of the Categorical variable has only one of the levels as True and others as False, i.e an observ...
I do not understand the following error message I get using the gmm function in R. The code below creates two moment conditions (one for observations denoted by x and another one for observations denoted by y). rm(list=ls(all=TRUE)) cat("\014") options(scipen=999) # no scientific notation set.seed(123) # =...
The correlogram structure of the returns series I estimated (up to two lags) had an almost identical ACF and PACF structure. The signs were identical, and the magnitudes of the ACF and PACF up to 12 lags were almost all pretty much identical. Does this point to some seasonality or a specific structure ARMA? No other cl...
We're learning about multi regression in the current module of my statistics course, and the instructor noted that the sum of square errors (SSE) of a full model such as the one below: $Y_i=\beta_0+\beta_1x_{1i}+\beta_2x_{2i}+\beta_3x_{3i}+\epsilon_i$ is going to be smaller than the SSE for any reduced model, such as t...
If I had a feature vector, X, and applied PCA or EFA to reduce it to a single-dimension variable, should we expect that number to have strong correlations with each of its high-dimension constituents?
I'm trying to understand how ensemble voting works for random forest. I have two sources of confusion. Let's say I have a single decision tree from a random forest built on a subset of the data. Does it misclassify because, for instance, it was built on features that have no real association with the thing we're tryi...
I am having troubles visualizing how to normalize a 3D matrix. I am trying to use the spectrogram of sound files for a sound classification task using neural networks. This is how a spectrogram looks like: Forgetting about the axis and scales, it is just a 2D array, as a greyscale image would be. Numbers filling up a...
Question: I have a sample dataset that contains a number of features, and a price. I am trying to predict the price. So far my accuracy has been terrible, with a MSE of 350,000 which is huge, relative to the price distribution. I know its a lot to ask, but as Im in the process of learning machine learning , it could sp...
I have 4000 iterations from an MCMC summarizing the posterior distribution. In the model used to estimate the posterior (a GLMM), my response variable was in g/m2, but I need to report the result in mg/m2. Can I just multiply each iteration of the posterior by 1000, or do I need to adjust the raw response unit and re-r...
I have two binary variables A and B. In my case, A is the presence of the flu, and B is the presence of another pathogen. I want to answer the following question: Are the percentages P(A|B) and P(A|~B) significantly different? To answer my question above, I would like to use a two proportions z test. According to the l...
Suppose I have $n$ independent random variables $X_1,\dotsc,X_n$ which are Poisson distributed with $X_i \sim Poi(\lambda_i)$. Without loss of generality, an additional condition $\lambda_1\le\lambda_2\le\dotsc\le\lambda_n$ may be imposed. I am looking for upper and lower bounds on the probability that a particular $X...
I have this problem. My approach would be to take a Kernel matrix of $ \ k(x,y) $ as it is positive semidefinitive. And if I am able to make $ \ k'(x,y) $ a kernel matrix, then I can prove that it is a kernel. But I don't understand how can I use this in the proof $ \ δ(x, y) $
I am working on a 35 sample size data time series, and after applying ADF and PP test two of my variables are integrated of order 1 I(1) and one is integrated I(2). Which cointegration approach should I apply before testing for causality between the variables?
I have the following information: Measure A had a Pearson correlation of 0.60 with measure B in one sample. The two-week test-retest reliability of measure A in the same sample was 0.64. The two-week test-retest reliability for measure B was 0.76 (Pearson correlation of the sum scores for both). Say I now have a third ...
Looking for a closed form solution. Here is the one of the approaches that a text book presents: Let $f_{n}$ be the probability of getting run of $r$ heads in $n$ coin flips where run ends at $n$ flips. If first toss is a tail, then a run happens in next $n-1$ coin flips. This is probability $q f_{n-1}$ If first toss...
Assuming I have a classification problem where I have binary dependent variable Y and independent variables X1-X10. The X variables are categorical. Say we are interested in the marginal effect of X1. I understand that marginal effect is the derivative of fitted probability over variable of interest X1. Assume that X...
PCA and LDA are two of the most widely used factor analysis tools. PCA construct the orthogonal basis that capture the maximum variance of the input space, $AP=PD$, where each column of $P$ is an eigenvector. Since each column is orthogonal by definition, we can project the low-dimension data back to the original dime...
In a pet project to see why automatic phonetic transcription is so hard, I would like to use both audio data where each sample is annotated by the sound to which it belongs (a phonetic segments tier) as well as audio data which just comes with un-timestamped phonetic transcription things. In the tier case, the target d...
I am very much a novice. I am trying to model a data that contains non-integers and zero values. The data contains the number of prescriptions written per county versus the number of overdose deaths per county. Both are measured at "per thousand people." > head(cv) Prescriptions Death.Rate 1 1201.9 0.1267...
What is a conditioning vector? Context: from the StackGAN paper about generating realistic pictures from text descriptions
I have count data on three groups of sites, sampled annually over 6 years. Group1 = target group Group2= control (untreated group) and Group3 = treated group (started the same as Group2). My hypothesis is that OVER TIME Group3 will become less like Group2 and more like Group1. I want to show in which year this occur...
Given the Laplace distribution parametrized by $\mu$ and $b$, $f(x\mid \mu ,b)={\frac {1}{2b}}\exp \left(-{\frac {|x-\mu |}{b}}\right)\,\!$ , I know that $\hat \mu$, the maximum likelihood estimator of $\mu$, is the sample median. But how do we find the standard error of the MLE? I'm not sure how to proceed since the...
"By fitting a model to the data, we 'explain' some of the variability; that is, we reduce the unexplained variability by some amount. The reduction in the unexplained variability is always the sum of the parameter estimates, each multiplied by the right-hand side of the normal equation that corresponds to that paramete...
I am a biologist who wants to compare three cell lines to each other. I have three different cell lines that have been seeded into different wells in a plate. Due to factors out of my control I have different numbers of wells for each cell line. I have taken 40 images in different locations in each well and have gotten...
Can some one show me the steps to derive kurtosis of Bernoulli distribution? First $$E[X^i]=p \mathrm{\;\;\;for\;all\;}i$$ $$\begin{align}E[x-u/s]^4=&(EX^4-4uEX^3+6u^2EX^2-4u^3EX-u^4)/s^4 \\ =&(p-4p^2+6p^3-4p^4-p^4)/s^4\end{align}$$
I'm doing machine learning analysis (Lasso) in R. Lasso introduces bias, and I heard I can recover less biased (or unbiased) coefficient estimates by debiasing methods. Is there any R package that can do this? I'm also happy to use Python.
The EM algorithm is usually motivated because maximizing the log likelihood is described as being "complicated" or "difficult" due to having to take the log of the weighted sum of the likelihood; ie $$ \underset{\theta, \omega}{max} \ \ \ \sum_i log(\sum_j \omega_j \cdot Pr(X_i|\theta_j)) $$ where there are $j=1\ldots...
I am doing k-fold cross validation across my training set with the goal of finding the best structure for a neural network. Within each fold, should I A) train the network for a constant number of epochs? OR B) train each fold until the error on the current fold starts increasing? If I do B) then each parameter set wi...
I know there's a minimum sample size calculation for logistic regression and I've found many discussions about it. However, what I'd like to know is what happens if the sample size is too high. Hypothetically, let's say for about 200 predictors, if I have 12,000 records, will there be any problems with the analysis? Sh...
For vector autoregresive (1) model, given the best estimated autoregressive parameter matrix $A$, and $Y$ is the data points matrix (variables by data points, say M by T) and $X$ is the 1 lagged data points of $Y$, then the best likelihood estimation for the covariance of the error, let $C$,using ordinary least square...
I am fairly new to R and is exploring simulation to estimate the parameter n: 1) Z is a vector of n draws from N(0,1) 2) Probability of max(Z)>4 equals 0.25 What is the best way in R to estimate the parameter n to satisfy these two conditions? I got stuck trying to avoid looping or exhaustive search in the code. Thanks...
I have labelled data for a set of experiments, where 100 experiments were conducted and each experiment is associated with 1000 distinct data points that I have labelled. I am using classification methods but am a little uncertain on how to best partition my entire dataset. For example, I've observed that a Random Fore...
I'm reading a chapter on bernoulli and binomial distribution and there is an exercise which reads: Assume you are taking a multiple choice quiz (10 questions) and each question has 4 choices. Since you are not prepared for the quiz, you randomly choose an answer for each question independent of other questions... Then...
I am reading a research article and trying to interpret and report the results. The article is comparing gabapentin and estrogen for the treatment of hot flashes. There was no difference between gabapentin group and estrogen group change scores, t=0.53 and p=0.63. The alpha value set by the researcher was p<0.017. I kn...
Lets say i don't want to spend much time on feature engineering or thinking about what features to include/exclude, instead i include every feature that i find remotely relevant and then let lasso do the selection for me using cross validation. I am not saying i will end up including millions of features and then make ...
Question Is there a way to express the update rules of ALS (Alternating least squares): $$ u_i = \left(\sum_{j: (i, j) \in \Omega} v_j v_j^\top + \lambda I\right)^{-1} \sum_{j: (i, j) \in \Omega} M_{ij} v_j \quad(i = 1, ..., n_2) $$ in matrix form? ALS is an algorithm for matrix factorization: https://web.stanford.edu/...
For some probability rules such as $$ p(y,x) = p(y|x) p(x) $$ there is a similar version that is conditioned on an extra variable, like this case $$ p(y,x|z) = p(y|x,z) p(x|z) $$ Also for mutual information $$ I(X,Y) = H(X) - H(X|Y) $$ the conditioned version is $$ I(X,Y|Z) = H(X|Z) - H(X|Y,Z) $$ My question:...
Background I'm trying to understand ROC curves, however I sometimes read that you can simply go one up for a True positive (TP) and one to the right for a False positive (FP), as mentioned here: Figure 5.2 shows an example ROC curve—the jagged line—for the sample of test data in Table 5.6. You can follow ...
first question here. I'm constructing GAMs for multispecies avian survey data, and running into some odd results in the calculation of R.sq in the summary() command. For one of my species, when i use the negative binomial response distribution, i get a large negative value (R.sq = -4.54), but when i use the Tweedie dis...
I'm trying to build a model to forecast multi-steps ahead time series data like stock market data. And I found out that many precedents projects are done with many-to-many RNNs, not seq-to-seq. Is there any reason for that? And what's the difference between those two algorithms?
I've a database with about 750000 observations, of which only 700 have a value of 1 for the response variable. Therefore, I've done some research on the issues occurring when estimating a logit with rare events. The following links contain useful information, by the way: https://statisticalhorizons.com/logistic-regress...
I'm currently trying to get lifetables for our population based on death and population counts. My first idea was to follow this paper methodology but after some discussions we are planning to use different models, such as GLMMs and GAMs and explore the inclusion of different knots and families. The author suggested to...
I am comparing a Deep neural net (using keras) and Xgboost on a dataset of around 3k observations with the ratio of 1's to 0's is 1:4. I am then using the models to predict on a test set and calculating the AUC and the max Lift (plotting the lift curve). For the DNN with tuned parameters the AUC (on test dataset) is 0....
I´m having trouble deciding how to cluster my data based on this following analysis. I used clusGap in R, which gave me the following plot. Provided I understand the whole thing correctly, I should be using 5 clusters based on this graph, because that´s the first k, where f(k) >= f(k+1)-SE(k+1). Right? The problem is,...
I have two groups of customers and for each customer I have a proportion of "expensive products" they bought i.e. expensive products purchased/total number of products purchases. Which test can I use to decide which group buys more expensive products?
Say I am training a neural network for image classification of cats and dogs, in a dataset of 1000 for example. I train the network on 800 examples, and then I test it with the remaining 200 examples, and I get training and test accuracies of 94% and 73% --> 21% gap Applying regularization should fix this train-test a...
Does increasing number of hidden layers improve accuracy or after adding some layers improvement won't happen? Does increasing number if hidden layers much more than the sufficient number of layers cause accuracy to decrease? Do we need more epoch to train network?
Say I have some samples from a distribution $p$, and I want to get more samples using MCMC/Gibbs sampling. Since the existing samples are known from the equilibrium distribution $p$, if I use them as starting points of Markov chain sampling, it seems the burn-in period will be no longer needed, is that right? Thanks.
I need help with figuring out a proper scoring rule for the following task. There are 11 possible outcomes. There is a true probability distribution over these outcomes (known to me but not you). For example, let's say that the true distribution is: 2%, 4%, 8%, 12%, 14%, 20%, 14%, 12%, 8%, 4%, 2% I ask you to provide...
Suppose a wise-sense stationary univariate time series has relatively strong auto-correlation of lag-length of 1, say, around -0.7 Then how would it affect the forecast? Conversely, if a stochastic process were to be IID, then due to a law of large number, $E[X] = {1 \over N} \sum X$ as N gets large and thus you coul...
I have a physical system which takes a number of inputs $x_i$ and produces an output $error$. $$ Y = f(x_1, x_2, x_3, .. x_{1000}) $$ The function $f()$ can be evaluated by running a compute-intensive simulation of a model. I want to find the $x_i$ to which $Y$ is most sensitive. In practice, I want to optimize the va...
Consider an Erdos-Renyi random graph $G=(V(n),E(p))$. The set of $n$ vertices $V$ is labelled by $V = \{1,2,\ldots,n\}$. The set of edges $E$ is constructed by a random process. Let $p$ be a probability $0<p<1$, then each unordered pair $\{i,j\}$ of vertices ($i \neq j$) occurs as an edge in $E$ with probability $p$, i...
I am applying regularized logistic regression (in R) to the handwritten digits data set. I have fitted a logistic multinomial model with lasso penalty to the training data. I am asked to obtain the coefficients for the best lasso fit for each class and plot the respective images that have a black point at a pixel if th...
I work on my thesis and use SPSS to analyze the data. Because some of my data is not normal distributed, I would like to log-transform the data to see, if this changes the distribution. I differ between two groups and in one group there is a normal distribution but in the other one there is not. I tried two drifferent ...