Testwiki:Reference desk/Archives/Mathematics/2014 March 13

From testwiki
Revision as of 09:17, 22 February 2022 by imported>MalnadachBot (Fixed Lint errors. (Task 12))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < March 12 ! width="25%" align="center"|<< Feb | March | Apr >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


March 13

Nonincreasing stars and bars

hello. I'm familiar with stars and bars (combinatorics). But is there a name for the problem where the numbers have to be nonincreasing? That is, you have fixed 'n' and fixed 'r', and we seek non-negative integer solutions x1 to xr satisfying x1++xr=n where x1>=x2>=>=xr. Is there a name for this? thanks, 122.60.245.210 (talk) 02:36, 13 March 2014 (UTC)

See Partition (number theory), especially the section on restricted partitions. What you're asking for would be "partitions of n with at most r part". See also Template:OEIS. --RDBury (talk) 16:30, 13 March 2014 (UTC)

In wikipedia article: Multivariate kernel density estimation, Is this a mistake?

Armorjanvan (talk) 09:00, 13 March 2014 (UTC)

In the article "Multivariate kernel density estimation", under "Definition" subsection, it is mentioned that:


f^𝐇(𝐱)=1ni=1nK𝐇(𝐱𝐱i)

where



I couldn't find the |H|−1/2 in any reference, instead, it is just |H|−1, that is: Template:Nowrap.

for example, in:

Is this a mistake in the Wikipedia page?

It's not close to my specialty, and it's very possible that there are different conventions. But a naive dimensional analysis of the formula above suggests that H has the dimensions of (co-)variance, and this is consistent with the dimensions of H that appear in several other places in the article. So, again very naively, it looks to me like our article is at least internally consistent, although it may not agree with conventions that appear elsewhere in the literature. Sławomir Biały (talk) 17:43, 13 March 2014 (UTC)
This convention is used in some places, for instance [1], where 𝐇 is called the bandwidth matrix. A good rule of thumb is to set 𝐇Σ^1/2, where Σ^ is the covariance matrix. This transoforms the data to have a unit covariance matrix, so different dimensions are on equal footing with respect to SSE cost functions, etc. --Mark viking (talk) 21:00, 13 March 2014 (UTC)

Find the function

Find the function where f(x) is equal to f(x1) . Georgia guy (talk) 19:30, 13 March 2014 (UTC)

f(x)=k⋅ax where a⋅log(a)−1=0, so a≈1.763222. k is any constant. Bo Jacoby (talk) 20:33, 13 March 2014 (UTC).
Is this the number whose decimal expansion is Sloane's A030797?? Georgia guy (talk) 20:47, 13 March 2014 (UTC)

Yes. And it is this J expression:

  ^@%^:_]1
1.76322

Bo Jacoby (talk) 21:23, 13 March 2014 (UTC).

f(x)=0 202.177.218.59 (talk) 22:45, 16 March 2014 (UTC)

For the analysis in Talk:Mark_and_recapture#Statistical_treatment I need to evaluate the series

N=n+Kk(NnKk)(NK)

I am stuck. Your help is appreciated.

The special case K=k is the German_tank_problem#Summation_formula, convergent for K>1 :

N=n1(NK)=KK11(n1K1)

This series is telescoping because:

KK1(1(n1K1)1(nK1))=1(nK)

Bo Jacoby (talk) 20:16, 13 March 2014 (UTC).

You haven't shown that the generalized series above telescopes. In fact, I see no reason why it should. Are you asking about that?--Jasper Deng (talk) 05:54, 14 March 2014 (UTC)

(EC). You are right. I have no proof that it telescopes and I have no proof that it doesn't. The fact that the special case telescopes leaves some hope that the general case telescopes too. Perhaps I should try the case K=k+1. Are there general methods besides trial an error? Is there A Short Table of Sums like Peirce and Foster, A Short Table of Integrals? Bo Jacoby (talk) 08:27, 14 March 2014 (UTC).

Try this: Write S(n, K) for the sum in the K=k case. On other words
S(n,K)=1(nK)+1(n+1K)+1(n+2K)+
The "next" case, K=k+1, would be
T(n,K)=1(nK)+2(n+1K)+3(n+2K)+
Then
T(n,K)+(n1)S(n,K)=n(nK)+n+1(n+1K)+n+2(n+2K)+
which is
K(n1K1)+K(nK1)+K(n+2K1)+=KS(n1,K1).
So T can be written in terms of S. Similarly if U is the sum in the K=k+2 case then U can be written in terms of T. Extend recursively to get values for any K-k. The sums are essentially hypergeometric functions at z=1 and presumably the relation above is a form of one of Gauss' contiguous relations. Perhaps there is a closed form expression but, since the degree of the numerators is K-k and there is no obvious cancellation, I'm guessing that a recursive expression is as good as you can do. --RDBury (talk) 08:00, 14 March 2014 (UTC)

Thanks! That is very helpful. The case K−k=0 was

N=n(Nn0)(NK)=KK11(n1K1)

and the case K−k=1 is simply

N=n+1(Nn1)(NK)=KK21(n1K2)

Bo Jacoby (talk) 13:29, 14 March 2014 (UTC).

You're welcome. Actually I was wrong about there not being a closed form. According to Abramowitz and Stegun the value of 2F1(a, b ; c; 1) is
F(a,b;c;1)=Γ(a)Γ(cab)Γ(ca)Γ(cb)
which you should be able to plug in to get an expression for the sum. I didn't see this formula in our article on hypergeometric series; I'll double check and add it if it's not there. --RDBury (talk) 16:22, 14 March 2014 (UTC)

See also this book. Count Iblis (talk) 16:22, 14 March 2014 (UTC)