Recent content by kulimer

  1. K

    How to simplify this fraction?

    @HallsofIvy (PF Mentor) Are you still here? What do you think?
  2. K

    How to simplify this fraction?

    I forgot to put parenthesis around 1-p in LaTex. It is fixed now.
  3. K

    How to simplify this fraction?

    =\frac{x{(1-p)}^{2}+{p}^{2}(n-x)}{{p}^{2}{(1-p)}^{2}} =\frac{x}{{(\frac{x}{n})}^{2}}+\frac{n-x}{{(1-\frac{x}{n})}^{2}} =x \frac{{n}^{2}}{{x}^{2}}+\frac{n-x}{({\frac{n-x}{n}})^{2}} =\frac{{n}^{2}}{x}-(n-x)({\frac{n}{n-x}})^{2} =\frac{{n}^{2}}{x}-\frac{{n}^{2}}{n-x} Did I make a mistake somewhere?
  4. K

    How to simplify this fraction?

    Homework Statement I want the simplify the following equation Homework Equations \frac{x}{{p}^{2}}+\frac{n-x}{{(1-p)}^{2}}, where p=\frac{x}{n}The Attempt at a Solution I got this \frac{{n}^{2}}{x}-\frac{{n}^{2}}{n-x}, I don't think this is the right answer.
  5. K

    How to solve for Hamiltonian gradient?

    Thanks for your answer. Should I move this thread to classical physics? Maybe you know how? This is actually a discrete estimation of Hamiltonian using leapfrog. As pointed out here on page 8 http://www.cs.toronto.edu/~radford/ftp/ham-mcmc.pdf But it didn't explicitly say what are the...
  6. K

    How to solve for Hamiltonian gradient?

    I am trying to understand how Hamiltonian gradient works. [SIZE="4"]H(q,p)=U(q)+K(p) U(q): potential energy K(p): kinetic energy q: position vector p: momentum vector both p and q are functions of time H(q,p): total energy [SIZE="4"]\frac{d{{q}_{i}}}{dt}=\frac{\partial H}{\partial {{p}_{i}}}...
  7. K

    Can someone explain what is generalized linear model? Examples?

    What exactly is generalized linear model? I understand you have to use the link function. Wikipedia says: "The link function provides the relationship between the linear predictor and the mean of the distribution function." So, what is this RELATIONSHIP? Maybe someone can provide an...
  8. K

    How Do You Correctly Express q(y,x) in the Metropolis-Hastings Algorithm?

    I digged out this old tread, but it is closed. I'll repost, but with my question. https://www.physicsforums.com/showthread.php?t=74004&highlight=metropolis [SIZE="4"]\pi(x) and [SIZE="4"]\pi(y) and [SIZE="4"]q(y,x) is the jump distribution in the relation...
  9. K

    What is copulas exactly, in probability and finance terms

    Do you know how to read the source code? Yes, it is open source, but how do you actually see it? Say, the copula package for example. http://cran.r-project.org/web/packages/copula/index.html
Back
Top