Statistics Probability Densities

Click For Summary

Homework Help Overview

The discussion revolves around probability densities in the context of a computer access scenario, where participants explore the probability of successful logins over multiple attempts. The problem also transitions into a discussion about binary coding for digital images, specifically regarding gray levels and bits.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants initially attempt to calculate the probability density function for the number of attempts required to log in, discussing the implications of success and failure on the first try. There is also exploration of how to quantify gray levels in binary coding, with questions about the relationship between bits and levels.

Discussion Status

The conversation has evolved with participants providing corrections and alternative perspectives on the probability calculations and binary coding. Some have offered guidance on how to approach the problems, while others are still questioning their understanding of the concepts involved.

Contextual Notes

Participants express uncertainty about their calculations and the underlying principles, particularly in relation to the assumptions about success and failure in the login attempts and the encoding of gray levels in binary form.

whitehorsey
Messages
188
Reaction score
0
1. It is known that the probability of being able to log on to a computer from a remote terminal at any given time is .7. Let X denote the number of attempts that must be made to gain access to the computer.
a) Find the first four terms of the density table.
b) Find a closed form expression for f(x).
c) Find P[X = 6].


3. I got this:
a) x P[X = x]
-------------
1 0.7
2 0.49
3 0.343
4 0.2401
b) f(x) = (0.7)^x where x = 1, 2, 3, 4, ...
0 elsewhere
c) f(x) = (0.7)^6
= 0.117649

I'm not sure if I did it correctly.
 
Physics news on Phys.org
Remember that for the first successful attempt to be the second try, you must fail on the first try. That changes things..
 
LCKurtz said:
Remember that for the first successful attempt to be the second try, you must fail on the first try. That changes things..

Hmmm why do you have to fail on the first try? Couldn't you be successful on the first two tries?
 
whitehorsey said:
Hmmm why do you have to fail on the first try? Couldn't you be successful on the first two tries?
Because if you succeed the first time, you don't need to try again. You're only logging on once.
 
haruspex said:
Because if you succeed the first time, you don't need to try again. You're only logging on once.

Oh so my table instead should be
1 0.7
2 0.21 (.3)*(0.7)
3 0.063
4 0.0189

I think?
 
whitehorsey said:
Oh so my table instead should be
1 0.7
2 0.21 (.3)*(0.7)
3 0.063
4 0.0189

I think?

That's better.
 
LCKurtz said:
That's better.

Thank You! Could you also help me on this problem?

The basic storage unit of a digital computer is a "bit". A bit is a storage position that can be designated as either on (1) or off (0) at any given time. In converting picture images to a form that can be transmitted electronically, a picture element, called a pixel is used. Each pixel is quantized into gray levels and coded using a binary code. For example, a pixel with four gray levels can be coded using two bits by designating the gray levels by 00, 01, 10, and 11.
(a) How many gray levels can be quantized using a four bit code?
(b) How many bits are necessary to code a pixel quantized to 32 gray levels?

I'm not sure how to start it. I believe it has something to do with permutations and combinations.
 
whitehorsey said:
Thank You! Could you also help me on this problem?

The basic storage unit of a digital computer is a "bit". A bit is a storage position that can be designated as either on (1) or off (0) at any given time. In converting picture images to a form that can be transmitted electronically, a picture element, called a pixel is used. Each pixel is quantized into gray levels and coded using a binary code. For example, a pixel with four gray levels can be coded using two bits by designating the gray levels by 00, 01, 10, and 11.
(a) How many gray levels can be quantized using a four bit code?
(b) How many bits are necessary to code a pixel quantized to 32 gray levels?

I'm not sure how to start it. I believe it has something to do with permutations and combinations.

Not really. It has more to do with powers of two and how many binary digits you need to encode them. Sure you aren't overthinking this? You can encode 4 gray levels with 2 bits because you have two choices 0 and 1 for each bit. Since you have 2 bits you have 2*2 choices.
 
Dick said:
Not really. It has more to do with powers of two and how many binary digits you need to encode them. Sure you aren't overthinking this? You can encode 4 gray levels with 2 bits because you have two choices 0 and 1 for each bit. Since you have 2 bits you have 2*2 choices.

Oh! So for
a) Since I have 2 choices and 4 bits, I would have 2 * 4 = 8 gray levels.
b) 32/2 = 16 bits

Is this correct?
 
  • #10
whitehorsey said:
Oh! So for
a) Since I have 2 choices and 4 bits, I would have 2 * 4 = 8 gray levels.
b) 32/2 = 16 bits

Is this correct?

Nope. If you had 3 bits you would have two choices for EACH bit and three bits. That's 2*2*2=8 total choices. With four bits you should have more. Think again.
 
  • #11
Dick said:
Nope. If you had 3 bits you would have two choices for each bit and three bits. That's 2*2*2=8 total choices. With four bits you should have more. Think again.

Ah! So this is what I got,
a) 2 ^ 4 = 16
b) 2 ^ x = 32
x = 5 bits
 
  • #12
whitehorsey said:
Ah! So this is what I got,
a) 2 ^ 4 = 16
b) 2 ^ x = 32
x = 5 bits

Yes, that's it.
 
  • #13
Dick said:
Yes, that's it.

Thank You!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
2K
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K