instruction stringlengths 9 38.7k |
|---|
I have a Customer feedback about quality of service of a bank.
I have data Excel format : header row contains the question ans, the row below contains the response of the Customer.
The responses can be textual (text responses), or numerical (scale rating).
I plan to collect all the text responses and try to do a senti... |
I am unsure whether turning count data into density still makes Poisson as the appropriate distribution for modelling.
If a given response data are, for example, counts of animals, then such data are best modelled using a Poisson (or quasi-Poisson) distribution.
If the response data are continuous (but bound by zero), ... |
I am building a predictive model with 7 features. My target is binary. I have tried using XGBoost in R.
bst <- xgboost(data = as.matrix(trainSet[,predictors]),
label = trainSet[,outcomeName], max.depth=10,
nround=1000, objective="reg:linear", verbose=0)
pred <- predict(bst, as.matrix(test... |
I have a dataset with a total of 58 samples. The dataset has two columns "measured_signals" and "people_in_area". Due to it, I am trying to train a Linear Regression model using python's Scikit-learn to predict from the measured_signals” the people in the area.
The steps I do are the followings:
I use “sklearn.cross_... |
Consider the following state space model: the transition distribution of the latent variable $x_k$ along with the observational density is given below. Assume that both sequences of the noise terms, $\{{v_k}\}$ and $\{{w_k}\}$, are iid Gaussian. What is the probabilistic model of the observation equation $p(y_k|x_k)$?
... |
This sounds like a standard question to me but I haven't found any answer so far, looking on a hundred sites.
We have a time series (say >100 x and y values, x equidistant) representing a smooth curve plus gaussian noise. We want to estimate a) the smooth curve and b) its first and second derivatives. Currently we appl... |
In my dataset I have cartoons, which are actually just sets of word tags. Those tasg come in two sub sets, one stands for the context of the cartoon and the other stands for the anomaly in it.
An example - imagin a duck giving a presentation. The context tags could be - office, preserntation, seminar, workplace. An an... |
I think someone can help me to solve this problem. I scanned 40 samples in order to obtain two parameters: BMD and TBS. I have performed a regression analysis in order to study the relationship between BMD (dependent variable) and TBS (indipendent variable).
After that I have damaged the samples with a compression (me... |
I've got $n$ observations of an object corresponding to $n$ readings;
$$a_{1}, a_{2}, \ldots, a_{n}$$
where $p_{A}(a_{j})$ is the probability that observed object in reading $a_{j}$ is 'A'.
Now, as all my readings are of the same thing, I would like to utilize all of them to find the probability that the thing I'm obse... |
OSHA keeps records of fatal injuries in deaths per 100,000 full time equivalent workers. I'd like to see if improvement over time is significant from 2006 (3.7) to now (2.8).
My instinct is to model this as a Poisson distribution for a population of a million full time workers, set lambda to 28 and the number of event... |
I am getting some perplexing results for the correlation of a sum with a third variable when the two predictors are negatively correlated. What is causing these perplexing results?
Example 1: Correlation between the sum of two variables and a third variable
Consider formula 16.23 on page 427 of Guildford's 1965 text, ... |
Firstly I should mention I am quite unfamiliar with the subject (operational risk). And I am also beginner in risk management. It is also worth to mention that this task is on academic level .
I intend to create something called yearly Aggregated Loss Distribution (also known as Loss Distribution Approach or LDA). It s... |
With the right choice of the penalty, the ridge estimator in the linear regression model
$$y=X \beta +\varepsilon, \quad E[X
\varepsilon]=0, \quad \beta \in \mathbb{R}^k$$
will have a smaller MSE that the OLS estimator. The asymptotic distributions of the ridge estimator and the OLS estimator (that is, the distribut... |
I have a data set with data from 26 multiple-choice exam papers. Each question has four alternatives, one of which is correct. I know, for each paper, how many answers had A as the correct option (and B, C and D). Is it possible to determine whether:
There is tendency for one of the options to be correct, and if so, ... |
After running MCC, will the result displayed be for the whole data or the testing data. I read MCC uses 2/3rd data for training and 1/3rd for testing but while checking my results i still see results for whole data and not only for the testing data. I need clarity on how i can get only testing result data.
Thank you.
|
I would like to estimate a confidence interval for coefficients of my regression. I calculate the coefficients of the regression with the following code:
library(sandwich)
library(lmtest)
myRegression <- lm(x ~ y)
coeftest(myRegression, vcov = NeweyWest(myRegression, lag = NULL))
And the confidence interval with this ... |
Let's say we have a dataset of 250 samples and we have engineered 30 attributes based on the domain knowledge. We perform a 10-fold CV and estimate the performance of our process of creating a model.
Now as you know, it's likely that some of the 30 attributes are redundant and getting rid of some of them should both si... |
I have two datasets consist of different features. I did multiple linear regression on these datasets separately and calculated MSE and r-squared scores. After that, I combine these features and the target values and doing multitask regression. I compare these two methods score and there is an improvement.
My question... |
I am trying to understand the below result set. F20 variable binned into two groups 0 and 1-722. The question I am posing here is for bin 0. I have responders variable as population1 and non-responders variable as population2. I also have %proportion for responders and non responders. INDEX is in % too and is the propo... |
I recently asked a question seeking a mathematical interpretation/intuition behind the elementary equation relating sample mean and variance: $ E[X^2] = Var(X) +(E[X])^2$, geometric or otherwise.
But now I'm curious about the superficially similar bias-variance tradeoff equation.
$$
\begin{eqnarray}
\text{MSE}(\hat{\th... |
Assume a website redesign its page and want to assess whether the new design improves the click through rate (CTR) comparing to the old page.
Say we have 1 million traffic and the company randomly split half of the traffic to the old page and the remaining half to the new page.
I believe the conclusion draw from permut... |
$y_t = b_0 + b_1 y_{t-1} + u_t$
$u_t = \sqrt{h_t} v_t$
$h_t = a_1 u^2_{t-1} + c_0 c_3 h_{t-1}$
where $v_t$ is a white noise process, $\mathbb{E}(v_t)=0$.
How would we go about testing the hypothesis $H_0\colon \ c_0 c_3 = 0$?
Would we use the log maximum likelihood?
Can this be estimated consistently?
|
I am trying to understand difference in output between the following lines of code:
library(survival)
summary(coxph(Surv(futime, fustat) ~ age + strata(rx), data=ovarian))
summary(coxph(Surv(futime, fustat) ~ age, data=ovarian))
What does adding strata(rx) do?
Explanation ?strata says:
**Value**
a new factor, whose... |
In an endogenous switching model, if there is an additional endogenous explanatory variable, we can either follow a control function approach (Murtazashvili and Wooldridge 2016), or a full information maximum likelihood approach. I tried both, but the full information maximum likelihood approach does not work out. I su... |
I'm working with a data set that has 29 subjects. Each subject was measured under four difference conditions. Let's call them A,B,C, and D. Within each condition a subject can belong to one of two mutually exclusive classifications, let's call them X and Y. I would like to know what differences exist between X and ... |
Write a MATLAB function that computes the value of the Gaussian
distribution N(m, S), at a given vector x.
What does it mean by 'Gaussian distribution at vector x'?
What does the question want actually?
|
In forecasting the performance of many agents in a time series, there is a strong seasonality component, in addition to non-seasonal features for each agent. How can I capture the overall seasonal trends in my model building process without overfitting? Currently, I'm using a time-series cross validation approach to fi... |
I am trying to develop a scoring system for ad conversions. I have the type of data you would expect such as click-through rate (proportion) and the dollar amount of the sale. So I know I can develop an expected value scoring system from this type of data. But I want to find is there are other scoring system alternativ... |
Let's say I first run a linear regression model Sales = f(TV Spend, Digital Spend).
Now I add TV Spend and Digital Spend and run the second model. My second model is Sales = f(TV Spend+Digital Spend).
How is the beta coefficient of the second model related to the beta coefficients of the first model? Also, does the f... |
I keep hearing that neural net training is non-convex. The objective function is non-convex.
My question is:
What is the proof that the learning process is non-convex? How can you prove it is non-convex for say max likelihood training?
Is training wrt all objective functions non convex?
I am unable to find answers ... |
I used the R package hdnom to plot a nomogram obtained from survival data, after applying the lasso method for model selection. I am trying to compare using the nomogram and the coefficients of the fitted Cox model, but I cannot figure out why the zeroes of the linear predictor and total point scale do not line up. Can... |
In stochastic gradient descent, while decreasing the learning rate during training (e.g., after a set number of epochs) seems to be a common practice, but I haven't seen anyone alter the minibatch size in the same manner. Then I found a paper, On the importance of initialization and momentum in deep learning (Sutskever... |
Let me preface the following by saying I have very little knowledge of the ins and outs of machine learning but I am familiar with statistics and programming.
I am working on a project that considers multiple variables to help predict whether an ID is "high-risk", that is, a high chance they will terminate their contra... |
I have n=1,000,000 data points with m=10 to m=60 attributes, i.e., m=10 to m=60 different variables. And I have a 1D output. I want to use support vector machine for classification. How would I do it so that it wouldn't take long for fitting the model. I am using Matlab.
Thanks
|
I learned that it's common to do dimensionality reduction before clustering.
But, is there any situation that it is better to do clustering first, and then do dimensionality reduction?
|
Do we need to transform data before implement PCA to the raw data? Or it just acceptable if we proceed to used PCA to the raw data?
|
I have six vectors, each of length say $n$ which is >= 100. The vector entries correspond to a measurement from a certain experiment on $n$ individuals. Each index in the vectors corresponds to one of these individuals. All these individuals were tested on six different days, giving me six vectors. First three sets of ... |
A probably very easy computational question, but I don't really understand how it's done:
I try to compute the point estimates of a normal distribution as $N \sim (\beta, \sigma)$. Using the method of moments, we get:
$$\frac{1}{n} \sum_{i=1}^{n} X_{i} = \hat{\beta}$$
$$\frac{1}{n} \sum_{i=1}^{n} X_{i}^{2} = \hat{\sigm... |
Yet another computing question:
Why is $$\sum_{i=1}^{n} (X_{i} - \overline{X} + \overline{X} - \mu)^2 = \sum_{i=1}^{n} (X_{i} - \overline{X})^2 + n ( \overline{X} - \mu )^2 $$
In other words: Why is the cross-term $$2 \cdot \sum_{i=1}^{n} (X_{i} - \overline{X})(\overline{X} - \mu ) $$ equal to zero?
Please assume the... |
In a particular task I am given, I have to compute the Bayes estimator of $Bernoulli(\theta$) random variables $X_1, ..., X_n$. As a prior distribution $p(\theta)$, I have to assume a $Beta(\alpha, \beta)$ distribution. When I multiply the likelihood function with the prior distribution and simplify the term by droppin... |
Imagine a situation where a group of people that are can be characterized as sparse multi-attribute sample (e.g. multicultural MBA class that went to work in many countries) would like to analyze their earnings performance against others. But nobody in the group wants to expose their personal earnings to anyone else, t... |
It is easy for me to visualize the distribution of a random variable by drawing its density function.
Suppose I have two independent random variables now. I can plot the densities and visualize how the masses are spread across the real line. How do I visualize the convolution using that -- is there a way to see how t... |
I have 2 independent populations, each with N=50 people. I took n=20 samples from each population. For each person, I asked a question with an answer from 1 to 5. I want to know if there is a significant difference between the distributions of the answers of the 2 populations (e.g., mean). I can assume that the varianc... |
I'm just wondering if Bayesian statistics would be applied consequently from the first study to the last if this makes a meta-analysis obsolete.
For example, let's assume 20 studies which have been done at different timepoints. The estimate or distribution of the first study was done with a uninformative prior. The se... |
I recently read this article on the entropy of a discrete probability distribution. It describes a nice way of thinking about entropy as the expected number bits (at least when using $\log_2$ in your entropy definition) needed to encode a message when your encoding is optimal, given the probability distribution of the ... |
The Maximum Likelihood estimator theory comes often with the the theoretical result on the variance:
$\sigma^2(\hat \theta_{MLE}) \sim -\left(E[\frac{\partial^2 log L(\theta=\theta_0)}{\partial^2 \theta}]\right)^{-1}$
, called the inverse of the Fisher information ($\theta_0$ are the unknown exact parameters). The proo... |
I've been training a fully connected neural network I've developed so that it can learn the XOR problem. I got succesful results using hyperbolic tangent and ReLU as activation functions, this is, the network output matched with the outputs of the XOR truth table. Still, as far as I understand, the activation function ... |
For supervised machine learning algorithms (ie: regularized logistic regression, SVM, decision trees, etc), are their specific loss functions the main/only reason they differ from one another?
|
Given $P$ independent and identically distributed random variables, $X_1, X_2, ..., X_P \sim \text{Gamma}(M,2c)$ how can we prove that:
$$U = X_1 + X_2 + ... + X_P$$
and
$$V = \frac{X_1}{X_1 + X_2 + ... + X_P}$$
are independent, when $U \sim \text{Gamma}(MP,2c)$ and $V \sim \text{Beta}(M,M(P-1))$.
|
I have a longitudinal dataset with 8 repeated measurement occasion and approximately 100 cases. Some of the explanatory variables are time-variant, other stay the same over time. Some might be categorical, others continuous. The dependent variable is continuous.
Now the problematic part: Due to the nature of the study ... |
I am studying the feasibility of learning from the book Learning from Data. The author uses a bin analogy to discuss the feasibility of learning in a probabilistic sense. I have certain questions to ask.
First, I will try to summarize what the author is trying to do:
Consider a bin containing red and green marbles,... |
When evaluating an estimator, the two probably most common used criteria are the maximum risk and the Bayes risk. My question refers to the latter one:
The bayes risk under the prior $\pi$ is defined as follows:
$$B_{\pi} (\hat{\theta}) = \int R(\theta, \hat{\theta} ) \pi ( \theta ) d \theta $$
I don't quite get what t... |
Is it appropriate to use predictor variables that are statistically significant when considered in stepwise-regression for a forecasting model?
|
I have data with 2 variables: X - Area Size of a field, Y - Average Production Rate. I need to check the relation between the two. I have plotted the data, and got the following two graphs:
and
Now I have a dilemma. Should I fit a linear regression model, or should I take into account all the little fluctuations in t... |
Suppose we have time series data $(p_t, (x_{i,t})_{i = 1...n})$, where $p_t$ is a price and $x_{i,t} \in \mathbb{R}^n$ regressors. From $p_t$ we construct $r_t = \frac{p_{t+30}}{p_t} -1$, the one-month ahead returns. Consider the regression
$$
r_t = \sum \beta_i x_{i, t-1} + \epsilon_t.
$$
Question: If I am willing to ... |
In convolutional neural net architectures, I found many Convolutional layers stacked with ReLU layers. What is its purpose? Why would we want to threshold the output of the convolutional layer since it's basically a representation of the input image.
|
I haven't been able to find an explanation online; maybe I don't know which search words to use. Let's say I have the following Bayes net:
How would I compute $P(D=F|A=T)$?
|
I am having trouble with a power analysis for these 2 types of models. I am trying to assess how pregnancy weight gain (<10 lbs and >40 lbs vs 20-29 lbs) affects benign breast disease.
However, there really isn't any preliminary data on this and consequently I am not sure how to go about getting the Pr(Y=1|X=1) under H... |
Analysing data from a past experiment I found that size of animals and a level of serum biomarker were associated with time to death when considered separately. Though when combining them in a cox model both the variable lost significance. How should I interpret and report this? Is it correct (and also relevant in scie... |
If I assume that a survival rate and its SD remain roughly the same for each month, how do I convert an annual rate and SD to a monthly rate and SD? All I know is the annual rate and SD, and the beginning population size.
|
I am looking for two reference incl. proofs showing
1) that a discrete Mixture of Gaussians can asymptotically approximate any (well behaved) continuous density
2) that a discrete Mixture of Bernoullies can asymptotically approximate any density over binary vectors.
|
I'm quite new to all this and am just trying to understand the concepts of GLM - getting very confused between distribution assumptions and the actual regression function. Let's keep it simple with one explanatory variable.
Looking at e.g. Poisson:
Poisson regression assumes the response variable Y has a Poisson
dis... |
Shrinkage approach like elastic net can produce predictive, sparse models when p >> n and when there's correlation between the predictors. In Zou and Hastie's paper on the elastic net, the simulation results show that elastic net out performed OLS.
So my question is, (and I know this depends on the actual research goa... |
Theorem:
$E(X|Y)=E(X) \iff E[Xh(Y)]=E[X]E[h(Y)]$ for all bounded measurable $h$
Does this theorem also hold for all odd moments of $X$, i.e.
$E(X|Y)=E(X) \iff E[X^nh(Y)]=E[X^n]E[h(Y)]$ for all bounded measurable $h$, and $n$ is an odd integer?
|
I'm conducting a meta-analysis and one of the studies only reports Mann-Whitney $U$ statistic. The table with results is pasted below.
Circled in red is the $U$ statistic that tests the differences between intervention and control group in post-intervention settings.
I wonder how to derive appropriate effect size (not... |
Let $X_1, \dots, X_{20} \overset{\text{iid}}{\sim}
\text{Exp}(\lambda)$; that is, $$f_{X_1}(x) = \lambda e^{-\lambda x}
\cdot I(x > 0)\text{.}$$ However, only the $U_i$ are observed, with $$U_i = \begin{cases} 1, & X_i \leq 1
\\ X_i, & 1 < X_i < 5 \\ 5, & X_i \geq 5\end{cases}$$ for each $i = 1,
\dots, 20$.
I wis... |
How can I compute the DIC value and Bayesfactor value for a bayesian glm model? (for both models or even just 1 of the models)
I have 2 models I would like to compare.
1. bayesglm model (using arm package)
2. logit model (bayesian logistic regression model using bayeslogit package)
the explanatory variables are both co... |
Can someone please help me show that $Cov(X_t,X_{(t-1)}=0$ for the following AR(2) process with no restrictions on the first lag.
$x_{t} = c + φx_{(t-2)} + e_{t}$
Thank you!
|
I was asked this question in an interview.
Let's say we have two Sharpe ratio's-
1) Sharpe of 3 computed over two years of data.
2) Sharpe of 2 computed over twelve years of data.
Is there a way to say quantitatively which one is better than the other?
I thought of using confidence intervals, using the fact that if t... |
On page 9 of "High Dimensional
Sparse Econometric Models: An Introduction (2011)," Belloni and Chernozhukov explain in Remark 1 that the expected risk of a sparse estimator is $$\min_{\beta\in\mathbb{R}^{\tilde{T}}} \mathbb{E}_{n}[(f_{i}-x_{i}[\tilde{T}]'\beta)^{2}]+\sigma^{2}\dfrac{k}{n}.$$
The notation is explained... |
I am working through these examples of computations on Bayesian networks and came across this claim (part of the last sample computation):
$$
P(E=e|A=a) = \sum_{c \in C} P(E=e, C=c | A=a)
$$
I am newly familiar with marginalization, but I thought that it was:
$$
P(A=a) = \sum_{b \in B} P(A=a,B=b) = \sum_{b \in B} P(A=a... |
We have a data-set with two variables - gender and education qualification. The data-set is severely unbalanced. The are only ~10 observations from 1 level of the education factor, ~20 from another and ~80 from another. Moreover the sampling of gender is not even within each level of education.
We run an ANOVA in SPSS... |
Say the logistic regression is where I have $Y_{i}$ as dependent and $D_{i}$ as independent with coefficient beta.
Then how do I interpret beta when both my $Y_{i}$ and $D_{i}$ are binary? I say this because usually while interpreting, the authors of papers, multiply beta by 100. So say beta is 0.045 , then is it co... |
I conducted stacking of three algorithms (NN, J48 and BN) with logistic regression as the meta-classifier. I am interested in doing a sensitivity analysis so I am able to rank the predictors and identify the "most" important/significant predictor(s). My outcome is binary (yes, no) and I have about 20 independent variab... |
I am trying to compare a manual computation for the prediction interval for a forecasted value (one step ahead, at 95% confidence) on this data set, to the given prediction interval from R's forecast package.
I have selected an ARIMA(1,1,0)$\times$(0,1,1)$_{12}$ model for the above data set (which has 192 data points).... |
I have the following question, I am not sure how to interpret it.
Suppose we are interested in estimating the difference in true average mean length between the two species of fish. Calculate an appropriate point estimate of
Species 1 mu - Species 2 mu. Based on your point estimate, which species of fish appears to be ... |
I'm looking for some papers or books with practical and theoretical examples about basic MCMC for Bayesian Statistics (With R).
I've never studied about simulation, and that's why I'm looking for "basic" information.
Can you give me some recommendations or advice?
|
I have a linear model with one continuous dependent variable ($y$) and one explanatory variable ($x$). The model: $y = b_0 + b_1 * x$; now I and need to add a categorical feature to it. The problem is that training for each category should result in its own curve ($b_0, b_1$ pair). Each category is a different process.... |
I have a data set of 126 different protein parameters(X-variables)and 244 different CD proteins. I wanted test if PCA and K-means clustering could separate my 244 proteins into two different clusters ( Enzymes and binding proteins). Here is my result from PCA and K-means. ( I used their actual function to find out if t... |
I am trying to understand a single factor Random effects anova from a book.
In this case : -
$y_ij = \mu+ \tau_i + e_{ij}$, where $i = 1,...,a$ and $j= 1,...n$.
Assumptions:
The treatment effects $\tau_i$ are $N(0,\sigma_\tau^2)$ and $e_{ij}$
are $N(0,\sigma^2)$
$\tau_i$ and $e_{ij}$ are independent
Hence we have : ... |
Per Wikipedia, this is what happens when you expand the variance equation:
$\ Var(X)=E[X-E[X])^2 $
$ =E[X^2 -2XE[X] + (E[X]))^2 $
$ =E[X^2] - 2E[X]E[X] + (E[X]))^2 $
How do we get the $\ 2E[X]E[X] $ term?
|
In some research paper, there are researcher used taking ANN prediction by run it multiple time and find the average result for prediction. Is it necessary to make it that way?
|
Chris Bishop introduces the multi-class linear discriminant functions (a.k.a. linear machine) in PRML as follows (p. 183):
In proving the convexity of decision regions, it's assumed that $y_k(\cdot)$ is linear in $\mathbf{x}$. If I recall, a linear function $f(x)$ must preserve vector addition, i.e. $f(x+y) = f(x) + f... |
Consider the following question.
The respiratory disturbance index (RDI), a measure of sleep disturbance, for a specific population has a mean of 15 (sleep events per hour) and a standard deviation of 10. They are not normally distributed. Give your best estimate of the probability that a sample mean RDI of 100 people ... |
Suppose we want to calculate confidence interval of mean value. If the dataset is massive ($n$ samples), classical bootstrapping is hard to apply since the size of the resample must be $n$.
But if I resample the dataset with a smaller size $k$, the variance of the bootstrap distribution will be different from the origi... |
One of the shortcomings of the Poisson regression model is that the mean, conditional on the independent variables should equal the conditional variance. If the observed variance is larger (smaller) than this theoretical variance ( which is the observed conditional mean), there is overdispersion (underdispersion).
Pos... |
I am using a generalized linear mixed-effects model to predict the rate of events generated by a collection of different sources over time. The response variable is the number of events by source by day. I would like to compare goodness of fit for alternative model structures and present the metric used in accessible w... |
Im trying to prove that autocorrelation of order two of MA(1) process is equal to zero. We use somewhat different approach than what I have found on the internet
Given the MA(1) model:
$$
Y_{t} = a + u_{t} - \theta u_{t-1}
$$
where $a$ is constant, $u_{t}$ is white noise process and $\theta$ is weight on past innovatio... |
I am learning currently CFA after completing EFA using Andy Fields book and Using Multi-variate statistics by Barbara Tabachnick and Linda Fidell.
In EFA the assumptions of the test are mentioned as
Adequate Sample Size
Normality of Data
Linearity
Outliers
Multi-collinearity
Because CFA is basically the same thing wi... |
My condition
$
X \sim \mathcal{N}(\mu_1,\,\sigma^{2}_1)\,.
$ where mean = 6, sd = 2.5, n=16
$
Q \sim \mathcal{N}(\mu_2,\,\sigma^{2}_2)\,.
$ where mean = 8, sd = 4, n=18
I need to prove $H:\sigma^{2}_1 <= \sigma^{2}_2 $ where $H_0$ is $:\sigma^{2}_1 >= \sigma^{2}_2$ with significance level: 0.05
My solution in... |
When doing a linear regression model, one calculates the coefficients called Beta and B, they are the values that display how much a dependent variable changes, depending on a predictor (or independent) variable.
What's the difference between standardized and unstandardized coefficients in linear regression models?
|
Bottom Line Up Front (BLUF):
I am new to Hidden Markov Models and am trying to learn by using them. I want to learn by working.
Questions:
How do I use binned counts of states (described below) and a matrix of
state transition probabilities to estimate most likely complete
trajectories in time?
How do I use a mat... |
Assuming I have an Input of N x N x W for a fully connected layer and my fully connected layer has a size of Y how many learnable parameters does the fc has ? The fc connects all the inputs and finds out the nonlinearaties to each other, but how does the size of the fc influence this. For simplification the bias can be... |
This is a little bit of a gut check, please do help me see if I'm misunderstanding this concept, and in what way.
I have a functional understanding of correlation but I'm feeling a little grasping-at-straws to really confidently explain the principles behind that functional understanding.
As I understand it, statistica... |
In Bayesian Essentials, page 40, there's the following formula:
I've tried to derive it.
$P(M=k|D=\frac{P(D|M=k)P(M=k)}{\sum_jP(D|M=j)P(M=j)}=\frac{\int P(D|\theta,M=k)P(\theta|M=k)\ d\theta \ \ P(M=k)}{\sum_jP(D|M=j)P(M=j)}=\frac{\int l_k(\theta)\pi_k(\theta)\ d\theta \ \ P(M=k)}{\sum_jP(D|M=j)P(M=j)}$
However, I'm s... |
How should you express a negative binomial distribution (\w gamma function), i.e.
$$f(y_i, \mu, \phi) = \frac{\Gamma (y+ \phi)}{\Gamma(\phi) \Gamma(y+1)}(\frac{\mu}{\mu + \phi})^y (\frac{\phi}{\mu + \phi})^{\phi}$$
where $\phi$ is assumed to be known,
in an exponential family form?
|
I have a couple of questions regarding the interpretation of the lognormal parameters in MATLAB, working towards modelling using a lognormal distribution. My interpretations of the various MATLAB functions are as follows. Are they correct?
The function "lognrnd" may be used to generate log normally distributed random v... |
From the Online Stat Book:
I don't understand this:
The accuracy of the approximation depends on the values of N and π. A rule of thumb is that the approximation is good if both Nπ and N(1-π) are both greater than 10.
Let's assume I have an unfair coin, so I get heads with a probability of 0.2. So what? I still ca... |
Say I have a hazard function that is related to some survival time(under right independent censoring) with a number of covariates. How do I find the hazard function if some of/all covariates are not observed? Is there a standard procedure for this?
|
The augment() function in the broom package for R creates a dataframe of predicted values from a regression model. Columns created include the fitted values, the standard error of the fit and Cook's distance. They also include something with which I'm not familar and that is the column .hat.
Can anyone explain what th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.