instruction
stringlengths
9
38.7k
When the Seq2Seq paper by Sutskever et al. refers to building an LSTM with a k-dimensional cell size, does this refer to both the feature vector size of vectors $C_t$ (cell), and $h_t$ (hidden state) in the LSTM? (Page 5; Top). The paper later says that the feature vector dimensionality of the word embeddings that they...
I have 3 sets of data from one experimental condition and 2 sets of data from another. I would like to compare the classification accuracy when using data from each condition to train an SVM classifier. If I do 5-fold CV and take the mean accuracy for each dataset, I end up with 3 points for one condition and 2 for the...
Consider a random sample of size $n$ from the distribution with pdf $$f(y;\theta)=\theta y^{\theta-1}, 0<y<1, \theta > 0.$$ I want to find a $1-\alpha$ confidence interval for $\theta$ by using the likelihood ratio test. I have already derived the MLE of $\theta$: With the likelihood function equal to $L(\theta)=\theta...
I am reading the book by Wackernagel, H. (1995) Multivariate Geostatistics: An Introduction with Applications and on page 49 The fit is done by eye because it is generally not so relevant how well the variogram function fits the sequence of points. What counts is the type of continuity assumed for the regionalized vari...
There are ways to estimate the importance of features in the model. However, if I have a new feature and want to know whether this can help my existing classification model, what can analysis I do? Assuming retraining models with new features + old features is too computationally intensive.
I send different versions of text to different recipients, but I have no way of knowing who gets which. I do however know what proportion of users get which text, so for example I know that, on Date d, nd,i of the people got text td,i, for i=1,2,..,md, where nd,i is in [0,1]. Texts are repeated over multiple days, so t...
in the model $ Y= X\beta +\epsilon $ when they say the predicted value of y is invariant to full rank linear tranformation on xi's . what does it mean . ? does it mean that any linear transformation on X that doesn't change its column rank will give same predicted values ?
I need to get probability distribution function from density function: $$f_X(x) = \begin{cases} \frac{\alpha x_m^\alpha}{x^{\alpha+1}} &x\geq x_m, \\ 0 & x<x_m.\end{cases}$$
Maybe someone can give me a quick answer. When trying to find a simple measure for a rolling average for data processing, I found that many solutions in R seem to be just roll over the unique averages for each point in the sequence. This should inflate the influence of points with few data points in them over ones with...
Question How do I find the effect size for the different hierarchical multiple-level regressions used by papers in my review? And how do I categorise their effect size? Detail I’m publishing a systematic review of 22 psychology papers that use a range of statistical analyses and the reviewers have asked me to report th...
$4$ dice are rolled about 200 times and it is noted how many times an even number showed up.( 0 to 4) . I tried to solve like this but I don't understand further where I made a mistake , probability that I get 0 times even number is equal to $(0.5)^4 *200$ it means that all four times I got an odd number because while ...
What I have so far, is this: State 0: A, A, B, B, C, C, Direction: left, right, left, right, left, right State 1: A, B, A, C, B, C Initial value: 0 0 0 0 0 0 So, as you can see, I have made a list before I get into the states. My next step is to do t1, which tells me to go from state A to the right... When I put tha...
I am having the following problem. Note that the area for class $B$ stretches to the innity. We consider as an elementary computation the threshold neuron whose relation between inputs $\{z_i\}$ and output $z_j$ is given by In a similar way the XOR problem was solved in the slides, design at hand a neural network tha...
Consider a task of estimating a parameter of a censored exponential distribution using maximum likelihood estimation. The typical approach to this question is presented in this question. The linked answer asserts that $$P_\lambda(X = x_i) = \left \{ \begin{array}{rl} \lambda e^{-\lambda x_i} & \text{, if } x_i \...
I am a little confused over formula for calculating covariance in Gaussian process (addition of variance always confuses me as it is not always explicitly denoted). The origin of confusion is that the formulas are given in Pattern Recognition and Machine Learning by Bishop and Gaussian process for Machine Learning by R...
A B-spline of degree $j$ is defined at knots $\vec k$ by the Cox-de Boor recursion formula \begin{align} B_{i,1}(x) &= \left\{ \begin{matrix} 1 & \mathrm{if} \quad k_i \leq x < k_{i+1} \\ 0 & \mathrm{otherwise} \end{matrix} \right. \\ B_{i,j}(x) &= \frac{x - k_i}{k...
I was reading the book Introduction to Statistical learning, where in z statistic was used to for hypothesis testing for parameters, so my doubt is that as response variable is not normally distributed here (at all) so parameters basically get their distribution from the response variable assumption of normality, right...
I am having trouble understanding some of the ideas behind $M$-estimation and it would be great if someone could help me out. From my understanding, it just an estimate that comes out of minimizing $\sum{\rho(r_i)}$ for some arbitrary function $\rho()$. In the linear regression setting, we can show that doing an $M$-es...
I am implementing a standard control function regression. I start with the equations: $y_1 = \alpha \; y_2 + X \beta + \varepsilon$ $y_2 = \gamma z + X \beta + \nu$ $y_2$ is endogenous in the first equation, $X$ contains exogenous predictors, and $z$ is my exogenous instrument. Technically, the first equation is an...
I am working on a dataset that shows the probability of the FOMC Fed Funds Rate being in a specific range after a future FOMC meeting. The probability is based on a log-normal distribution (bounded by 0). For each meeting date I have 1 to many data points to work from. The values of the probability ranges sum to 1 for ...
Is it possible to use confidence intervals in order to determine if there is a statistically significant difference in means between two (or more) groups instead of conducting pairwise comparisons? For example, if we have the following 95% confidence intervals for the mean of each group: Control | Group A | Gr...
Say I have a mathematical function that I want a neural network to learn (a realistic and helpful example would be trigonometric sine() ). Due to mathematical functions' consistency, as opposed to a data set that has human-related aspects (such as handwritten letters), will neural networks understand and train to a hig...
Why do we use Ridge regression instead of Least squares in Multicollinearity? Which one is correct: a. lower bias and higher variance b. lower bias with the same variance c. higher bias with a lower variance d. the same bias with lower variance
I would like to disaggregate monthly forecasts of sales into daily data. I have historical data about daily sales over the past two years (which mainly depends on deterministic effects like day-of-the-week, holiday, end-of-month effect,..). Which technique can I use to predict future daily sales starting from available...
I am running a logit regression in R. I get a warning which signals the missing algorithm convergence. My experience suggests that the problem may be due to the number of dummies in the model and/or to the limited IWLS iterations set by default by the software (25 in R). Deleting all dummies from the model and increasi...
Why is is neccesary to shuffle the inputs in each backpropagation of each epoque? What happens if they are not shuffle?
I get a learning curve as below Y - R2 what does it mean? Do I need to just add data? Or the problem in algoritm? The dataset has 1 000 rows and 10 categorical and 3 numeric variables. I used xgboost Strategy of cross validation ShuffleSplit(n_splits=10, test_size=0.20)
What does p value 2.5e-0.5 mean? If it is 2.5 × 10 ^0.5 then it is way above the statistically significant p<0.005.. learning this to interpret the results of one study..
I am taking a course about time series this year, and this is a brand new topic for me. I just got my first assignment and I am confused by a couple of terminologies. Q1. What is the difference between autocovariance, autocorrelation and autocorrelation coefficient? I tried to google it, but most of them don't really...
How can I increase the accuracy of density() and integrate() in R density estimations? I must use the integrate() function, because I need it further downstream. I already increased n to 2^15 and lowered the bw, with however little to no effect. So i know density() is maybe causing the problem, however I don't know how...
I have fitted a polynomial to a data set that I have. Thus I have obtained coefficients $\beta_i$ for $i=0,1,2$ and have a relationship of the form is $$Y=\beta_0+\beta_{1}X+\beta_{2}X^{2}+\varepsilon$$ between the predictor $X$ and the response $Y$, where $\varepsilon$ is the error term. My question is about computing...
Let's say I have two populations: serbian men (mean height = 182 cm, SD = 6.74 cm) and vietnamese men (mean height = 162 cm, SD = 5.4 cm). There is one vietnamese who says: "I'm not a vietnamese, I'm a serbian". His height is 155 cm. We count the z-score and see that it's equal to -4.006, which means there are only 0.0...
The R package tweedie provides a way to estiamate the density and CDF of Tweedie distribution (using dtweedie and ptweedie, respectively). I'm more interested in the dtweedie.series and ptweedie.series functions as they are (I think) simpler to interpret. I've found the author's paper Dunn & Smyth, Series evaluation of...
What is the distribution (probability density function) of the difference of two Gammas with the same scale? The parameters of each Gamma would be positive integers. That is, I'd like to know the density function ($f$) of $Z=X-Y$, where $X\sim {\rm Gamma}(a_1,b_1)$ and $Y\sim {\rm Gamma}(a_2, b_1)$. Assume $c$, $d$ ...
I'm curious how one would define and measure statistical diversity for a research project of mine. My motivation is to understand the statistical space of materials. Each material has a set of properties associated with it. Out of the set of all materials, I would like to develop a subset that accurately represents th...
The maximum likelihood estimator is often compared to the least squares method. I'm struggling to see how these things are related at all. I would like to understand what the maximum likelihood estimator means in practice. Can you adapt the maximum likelihood estimator to the example below and use the example to explai...
May I know the intuitive understanding of a deterministic, non-negative, and Borel-measurable function? Especially, I am not sure what the 'deterministic' and 'Borel-measurable' functions are. Could you please help me understand this in the most easiest way?
I am analysing the stock index returns data for few countries. From observation of the ACF and PACF there seem to be no significant peaks at any lags. However, applying the auto.arima function from the forecast package yields an ARIMA(4,0,4) model. I am confused with such results as the ACF/PACF do not even show signif...
Let's assume that we have a pretty decent idea of which features are important, and let's assume that those features are not a lot, like 2 or 3, some categorical, some numerical. Is there any reason to use random forest or boosting over other classification methods like SVM with regularization for cases like this? I ...
I am estimating the model $$E(Y|X) = Pr(Y=1|X) = \alpha_0 + (1 - \alpha_0 - \alpha_1)\phi(X'\beta),$$ where $\alpha_0$ and $\alpha_1$ are parameters, $\beta$ is a $p$-length vector of parameters, $X$ is a $p \times n$ matrix of data, $Y$ the dependent variable is a binary, and $\phi()$ is a probit model, so the cumulat...
Suppose I have a prior $\pi(\theta)$ and likelihood $f(x|\theta)$, where $\theta$ takes values in $\{0,1\}$. I implement the following procedure For $i = 1, \dots, T$ Simulate $\theta_i \sim \pi(\theta)$ Simulate $x_i \sim f(x|\theta_i)$ At the end of this procedure, I am left with a collection of $T$ pairs $\{(\thet...
I'm new to machine learning and advanced statistics so please be patient with my basic question. I am currently trying to model a data set I have with bunch of time data as independent variables (i.e. hour, day, month and year). With a continuous variable as the outcome, i.e. money. My understanding is that you must c...
I have labelled data composed of 10000 positive examples, and 50000 negative examples, giving a total of 60000 examples. Obviously this data is imbalanced. Now let us say I want to create my validation set, and I want to use 10% of my data to do so. My question is as follows: Should I make sure that my validation set ...
Objective: Working with time series of historical price data that is liable to have outliers and wish to apply a defined procedure to identify the outliers. Procedure: Take time series and apply Tukey median based smoothers, so this splits data into two parts a smooth part and a residue part. Take the residue part and ...
What is the proper test to determine whether the coefficients of variables in the same linear regression model are different from each other? Specifically, the variables I am referring to are different levels of a categorical variable and the coefficients may be close enough to each other that there actually is no di...
A woman claims she has "magical powers" and can guess the correct value of any card in a four-card deck 50% of the time (of course, for someone without magical powers, this value would be only 25% of the time). To test this claim, the woman guesses the value of a card from a shuffled deck six times. She guesses the cor...
Is there any other method to compute the sample autocorrelation function (ACF) of AR(p), the p$^{th}$ autoregressive model except the Yule-Walker equations? I want to determine if ACF is 0 except at lags 1,5,6,7 for the model: $X_t$ =$Z_t$+ $\phi_1$$X_{t-1}$+ $\phi_5$$X_{t-5}$ + $\phi_6$$X_{t-6}$ + $\phi_7$$X_{t-7}$ An...
This is regarding the first exercise in Sutton and Barto's book on Reinforcement Learning. I have a few questions about the exercise; I am not looking for an exact solution. Exercise 1.1: Self-Play Suppose, instead of playing against a random opponent, the reinforcement learning algorithm described above played agains...
I've had to run 5 different ANOVAs (identical 4-way mixed design ANOVAs including the same factors, but on a different dependent variable [a gait parameter] each time). In this case, what would be the best way to correct my p-values? Let's say I'm using Bonferroni (for example)... am I dividing my alpha by 5 since that...
A certain researcher has a Beta(2,1) prior distribution on the success rate of a new ointment. $k$ is the probability that the ointment works successfully on a patient. If the ointment is tried independently on 4 patients and works successfully on $X$ of them, what is $P(k\leq0.25|X=2)$? What is $E(k|X=2)$? How might ...
I'm having trouble understanding exactly how to obtain the regularization parameter when pruning a decision tree with the minimal cost complexity approach. Assume the cost complexity function is represented as $$C(T) = R(T) + \alpha|T|,$$ where $\alpha$ is the regularization parameter to be chosen. Utilizing the entir...
I know what margin of error means in a poll with two choices. For example, if a poll estimates two candidates are to have 45% and 55% of the vote respectively and the margin of error is 4%, then we can say with 95% certainty that the first candidate will receive between 41% and 49% of the vote. This means that the seco...
I have a dataset with some missing data. In this dataset, there are two variables that their missing data behaviors are same. Because these variables represent hormone measures, absence of one leads to lack of another (those are measured together). What is the missing-data mechanism in this situation? Missingness comp...
First, I don't know if this question is suitable for this site. I tried posting to Quora, but the length was too long. If it's not an acceptable question, would someone please suggest a more appropriate place? I'm a student currently finishing up an MS in electrical engineering. In the past few months I've gotten reall...
Just a question in terms of context: Error implies uncertainty or uncertainty implies error ? Say for example, when you are not sure about your measurement ( i.e. have uncertainty) then you probably have an error. If you have have error in your measurement then you are uncertain about the true value. So can the two...
I've been dealing with PCA over the past week and I ended up with a requirement for performing PCA (in Python Machine Learning Book by Sebastian Raschka): Note that the PCA directions are highly sensitive to data scaling, and we need to standardize the features prior to PCA if the features were measured on differen...
I would like to know what is the unconditional distribution of variable $y \sim \text{Neg-Bin}(r, p)$ when $r \sim \text{Poisson}(\lambda)$.
I'm working on estimating the performance of a predictive model. However, a rather large amount of covariate data is missing. My initial idea was to use cross-validation to estimate the prediction error by doing the following in each step: Fit an imputation model on the training part Use the imputed training data to f...
I have a dataset of energy measurements taken every minute from the energy footprint of home appliances. Based on that I am trying to detect human presence in the house. Since the data is sequential, I decided to use a recurrent neural network (LSTM) to model it. Because the classes are unbalanced (~60/40) I am using ...
What is the common way to do metric learning using python? I'm already familiar with the metric-learn package, is there any other packages? It does not contain all of the algorithms I saw here. Perhaps I should use another language?
Algorithms like policy iteration and value iteration are often classified as dynamic programming methods that try to solve the Bellman optimality equations. My current understanding of dynamic programming is this: It is a method applied to optimization problems. DP problems exhibit optimal substructure, i.e., the opt...
I would like to derive the basis functions for restricted cublic splines with K knots ($\epsilon_1,...,\epsilon_K$): $h_1(X)=1\text{, }h_2(X)=X\text{, }h_{j+2}(X) = d_j(X)-d_{K-1}(X)\text{, }j=1\text{ to } K-2 $ where $d_j(X)=\frac{(X-\epsilon_j)^{3}_+ - (X-\epsilon_K)^{3}_+}{\epsilon_K-\epsilon_j}$. I started with the...
I have the following problem with a system of minimum distance equations I want to solve. The objective is to estimate the parameters of the random variables in the following DGP: $$ x_t= \phi_t(\zeta^{u}_t+\zeta^{\nu}_t)+\zeta^{\nu}_t+\epsilon^{\nu}_t+(\theta^{\nu}-1)\epsilon^{\nu}_{t-1}+\theta^{\nu}\epsilon^{\nu}_{t-...
I have data which looks like this Reason 1 Reason 2 Reason 3 ---------------------------------------------- Year 1 | 20 | 120 | 120 | Year 2 | 220 | 20 | 2120 | Year 3 | 2053 | 1120 | 1200 | Year 4 | 30 | 3120 | 12 | I now wa...
I'd like to implement a version of Metropolis-adjusted Langevin sampling, but I'm unsure how to go about tuning the parameters of the proposal density. My understanding is that in MALA, a proposal is generated as: $$ X^*=X+\tau\nabla \log\pi(X)+\sqrt{2\tau}\xi $$ where $\pi(X)$ is the target density and $\xi\sim Norma...
I am stuck with this problem in my research. I am having a State Space Model like the below mentioned one: State Equation: $\mathbf{d}_k = \mathbf{d}_{k-1} + \mathbf{u}_k + \boldsymbol{\epsilon}_k$ and Observation equation: $\mathbf{y}_k = \mathbf{f}(\mathbf{d}_k, \boldsymbol{\theta}_k) + \boldsymbol{\eta}_k$, where $\...
Consider two lists: Mined List Subject, Score Subject_A , 11 Subject_B, 9 Subject_C, 9 Ground Truth List Subject, Score Subject_A , 17 Subject_D, 15 Then, how to compute the difference in ranks for Spearman’s rank correlation coefficient? Subject | Mined | Ground Truth Subject_A | 1 | ...
Is it possible to have access to trained model, e.g. through some API, and reverse engineer the model by asking for predictions for some arbitrary data, therefore recover the support vectors of the model and thus original training data (medical records, faces e.t.c)? If not, why not? I read about similar attempt in htt...
I have a regression dataset where the features are on the order of ~ 400 variables and the dataset itself is around 300 samples. I tried to use Random Forest Regression (RFR) on the dataset and used either out-of-bag (oob) score or k-fold cv score to judge its performance. The kind of behavior I see right now that I'm ...
I would like to use the $\chi^2$ statistic to evaluate the quality of fit of different models to an experimental data set that has many more data points than the number of independent Shannon Data Channels. My understanding is the number Shannon Data Channels is the number of degrees of freedom in the data, and should...
I have a training test with 3000 samples, 100 features per sample. For each sample, there is also a label column with the sample "price" - continuous variable with infinite values possible (think of price of a house, for example) My end goal is to build a model, based on the training set, which predicts a new sample "p...
I have a dataset with about 2 million vectors, the dimension is 200 (D = 200). I want to plot just a few (N = 20) of them in a 2D space. For another, much smaller dataset with a dimension of 20 I did a PCA transformation and plotted the transformed vectors in 2D space: from matplotlib.mlab import PCA import matplotlib....
I am playing around with topic modeling, and I notice a lot of related plural and singular words in my corpus (e.g. 'champion' and 'champions' are both found). I gave the porter stemmer in NLTK a shot, but full-on stemming removes a lot of other details that I would like to retain. Is there a way to depluralize terms u...
Let's say you are given a time series prediction, and it's corresponding 95% upper and lower confidence interval. What would be the best metric for summarizing these confidence intervals in a single, easy-to-understand number? I.E. Maybe you could take the width of the confidence interval as a percentage of the predict...
For my greenhouse experiment with potted trees, I am planing a fractional factorial design. The experiment has six factors (treatments) each with two factor-levels, and I want to use a model/package, which creates me the right experimental design (factor combination; blocking). Currently, I am using the package ‘planor...
I am trying to work out the standard deviation of a percentage change. I have the mean baseline value 'a' and the mean follow up value 'b', along with their standard deviations. Percentage change is: (b-a)/a I am able to calculate the SD of (b-a): The formula for which I obtained from: https://en.wikipedia.org/wiki/P...
A short shot of help would be great!! Thanks a lot in advance. I have asked same probands to rate two groups of people, e.g. unemployed indivduals versus employed individuals with parallel formulated items, e.g. How motivated are unemployed people? How motivated are employed people? Answers are given on a 6-point li...
I am conducting a survival analysis of time to loss for employees in a company. I have a couple of questions: I have a dataset of employees who started at different times over a 10 year period. Is it OK to conduct an analysis of all employees combined over this period, and maybe include a variable in the model for yea...
I'm a beginner experimenting with machine learning and regression. I have a dataset that looks like the following, where cost is the target (dependent) variable. Since the relationships seem skewed and exponential, is it appropriate to take the log of all of them before applying linear regression, like the following...
I want to apply an ANOVA analysis to my nested data. My data structure is as follows: I have 2 sites (Bruuk en Ketelbroek). Each site has 2 types of habitat; a main habitat (Struweel for Ketelbroek and Nat_bos for Bruuk) and a secondary habitat (grassland for both). In the main habitat I randomly deployed 2 pitfall ser...
I am doing a research on the relation ship between FDI and GDP between 1980-2015 in one country. The values used are FDI stock and real gdp. I ran the test using pcgive. But, for the optimal lag strucuture test, I get these results. Are these acceptable results? Also, using the optimal lag structure which is 2, I ra...
Given the following situation, can an accurate total be calculated? A document is downloaded from my website. 82% of people use Microsoft Office, which I can't track. 18% of people use OpenOffice, LibreOffice which I can track when the document is read There's 5000 total downloads (so 4100 use MSOffice and 900 use Ope...
The Problem I have been working on an epidemiological meta-analysis of prevalence values, measured as proportions but analyzed in logit-space. The conditions I study are quite rare (<5%) so all estimates are close to 0. Due to the presence of heterogeneity across samples, it is important that I report both the mean as ...
One gets different results upon using a univariate approach (boxplot) vs using a multivariate approach (Cook's distance). Which is more advisable ? Univariate boxplots are pretty easy to use but one can end up misjudging observations.
It is intuitively clear that a statistical analysis based on continuous data is more informative (i.e. has more statistical power) than if the same data is transformed into a categorical variable based on a certain threshold value. Could somebody please point me to a literature reference for this simple statement, pref...
I have the following problem: I have a website category (Baby products) that during September last year went through a process of reorganisation. So I have a specific traffic value for August and a traffic value for October. The stakeholder wants to see if the modifications worked and if the difference is "significant"...
I have a raw signal from a sensor which is attached in this question . The x-axis is time, and the y-axis is the signal response. As you can see from the data, the baseline of the noisy signal shifts from approximately t1 = 22 s to a new baseline value at t2 = 24 s. I am using R to do the analysis. What I did was grou...
On crowd sourcing sites like mechanical turk, we may ask people to rate two models in the scale of, say 1 to 5. Obviously, some people will give 5 for the good one and 1 for the bad one, while some may give 3 and 2, etc. In other words, each person has their own scale within the specified range. As such, standard devia...
Suppose we have a Markov decision process with a finite state set and a finite action set. We calculate the expected reward with a discount of $\gamma \in [0,1]$. In chapter 3.8 of the book "Reinforcement Learning: An Introduction" (by Andrew Barto and Richard S. Sutton) it is stated that there always exists at least ...
When doing PLS regression, you normally have a 2D matrix where each row is a sample of known class identity (in the case of a training set) where the 2D matrix is the X, and the class information is the Y. However, my dataset is different. I have a bunch of 2D spectra combined into a 3D matrix. Each entire 2D matrix ha...
When i use t-test using standard deviation which is equal to $5$ which is sample standard deviation. I get P-value for which i have to reject null-hypothesis but when i use z-test assuming that the population standard deviation is known and that is also equal to $5$ then i get different P-values and i can reject the n...
Setup: Say I have some Bayesian predictive model I assume to be true for each observation $x_1$. Each $x_2$ is a latent/unseen/hidden random variable. The parameters are $\theta$. It's a mixture distribution: $$ p(x_1) = \int p(x_1|x_2,\theta)p(x_2|\theta)p(\theta)dx_2d\theta. $$ I can sample, for $i=1,\ldots,N$, $\t...
I did some tutorials and read few articles but still have a problem with SVM, exactly with SVR. I'm doing analysis in R and I use e1071 library with "svm" function. Into that function I use my multivariable equation, so svm works since now like SVR. My results: (general: cost=1,gamma=0.1666) -epsilon=0.1(61 SV-supporte...
I'm trying to conceptualize a network analysis problem and figure out where to start in terms of analysis techniques in R. Apologies as I'm fairly new to all this. Basically, I have a employee network for an organization which spans multiple geographies. I want to define metrics to calculate how well the nodes in a spe...
For instance, suppose I'm using a national data set which includes a measure of subjective life satisfaction for children (I'm just making this up). Model 1: I have variables that theory and prior research have found to be associated with life satisfaction. Model 2: I restrict the model to only children whose parents...
Sorry if the previous post caused any inconvenience to you. I am a newbie in Radial Basis Functions (RBF) and this is the first time I post a question. I have 80 pairs of Y=body weight and X= body length of a species. Usually, the relationship between these variables is modeled as Y=a*X^b and classical or Bayesian stat...
I am doing a retrospective analysis on a study has has cases and controls. I am looking to see if there is an association with death, using exact logistic regression. I am confused on whether I need to include covariates in the model that are associated with the outcome (death) or the independent variable of interest (...
Suppose a linear model has been fitted with design matrix X and there are estimates $\boldsymbol{\hat{\beta}}$ and $\hat{\sigma}^{2}$. For given covariates, $x_{*}$, the predicted response is $\hat{y}_{*} = x_{*}^{T}\boldsymbol{\hat{\beta}}$. Here is the bit I don't get: why is $Var(x_{*}^{T}\boldsymbol{\hat{\beta}}) =...
What is the main difference between the classical approach of the calculation of two-way ANOVA and the general linear model (GLM) approach? Is it possible to determine the coefficients of a general linear model from the output of the classical two-way ANOVA? The classical approach is based on the Fisher's method.
I am considering a regression model $$y_i=x_i'\beta+\varepsilon_i, \quad E[x_i \varepsilon_i]\neq 0,$$ where I use the instrumental variables approach with instruments $z_i$ ($E[z_i \varepsilon_i]=0$ and $E[z_i x_i']$ having full column rank). So I have $$\widehat{\beta}_{IV} = (Z'X)^{-1} Z'y.$$ Now I want to bootstra...