tag:blogger.com,1999:blog-6868481728587664940.post7802007199892373389..comments2023-09-28T07:42:54.177-07:00Comments on (CS/EE 144) The ideas behind the web: Homework 3JKhttp://www.blogger.com/profile/16377190193976460557noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-6868481728587664940.post-41121440696224968732012-01-26T21:36:19.545-08:002012-01-26T21:36:19.545-08:00What you are suggesting is also acceptable. In fac...What you are suggesting is also acceptable. In fact, I would say your idea is more relevant and actually leads to a meaningful contrast.Ragahttps://www.blogger.com/profile/18299029233474582581noreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-87793301281734890432012-01-26T19:46:18.540-08:002012-01-26T19:46:18.540-08:00PlotLabel is also useful to add a title to your gr...PlotLabel is also useful to add a title to your graphsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-39038414053853725792012-01-26T19:41:05.421-08:002012-01-26T19:41:05.421-08:00For those using Mathematica, you can use the follo...For those using Mathematica, you can use the following arguments for labeling your plots:<br />AxesLabel, PlotLegend, LegendPosition (just search Mathematica Help for these keywords to find out the syntax).Ragahttps://www.blogger.com/profile/18299029233474582581noreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-28828977472418827172012-01-26T18:00:43.552-08:002012-01-26T18:00:43.552-08:00The answers to both part (a) and (c) define two pr...The answers to both part (a) and (c) define two probability distributions on the entire dictionary of possible words (i.e., on \Sigma^*, where \Sigma is the alphabet containing n letters). For example, if your alphabet is {0,1}, then Pr[typed word = 000110] = answer to (a) with c=6.Ragahttps://www.blogger.com/profile/18299029233474582581noreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-40476717354880242292012-01-26T16:46:44.137-08:002012-01-26T16:46:44.137-08:00I'm a little confused about question 2(c) wher...I'm a little confused about question 2(c) where it says "contrast this with the result of part (a)." The answer to part (a) does not define a probability distribution. You can however let X be the probability of typing any c-letter word and you get Pr[X = x] = n^c * [answer to (a)]. We can then say something about how heavy the tail of X's distribution is. Is this what you want us to do? Thanks!a CS/EE 144 studenthttps://www.blogger.com/profile/06501391680670771089noreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-79251906231676578922012-01-25T01:02:52.924-08:002012-01-25T01:02:52.924-08:00'k' in your notation above is the scale pa...'k' in your notation above is the scale parameter. See the Wikipedia article on Pareto distribution (the first entry in the table summary on the right side lists the parameters and what they are called).Ragahttps://www.blogger.com/profile/18299029233474582581noreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-89163454619994644402012-01-24T22:18:07.135-08:002012-01-24T22:18:07.135-08:00What is the scale parameter for a Pareto Distribut...What is the scale parameter for a Pareto Distribution?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-12471505740630501662012-01-24T20:35:58.715-08:002012-01-24T20:35:58.715-08:00Actually, I understand we have to SET the Expected...Actually, I understand we have to SET the Expected Value to be 1 so we pick our parameters accordingly!<br /><br />However, I am confused as to what is the scale parameter of a Pareto Distribution.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-78805594564287466552012-01-24T16:55:35.356-08:002012-01-24T16:55:35.356-08:00Hey guys, hope you're having a good day!
I am...Hey guys, hope you're having a good day!<br /><br />I am a little confused about the plots (problem 3) ...<br /><br />Using the Mathematica 8 reference,<br />The Weibull Distribution is defined as such:<br />WeibullDistribution[alpha, beta]<br />represents a Weibull distribution with shape parameter alpha and scale parameter beta.<br /><br />The Pareto Distribution is as such:<br />ParetoDistribution[k, alpha]<br />represents a Pareto distribution with minimum value parameter k and shape parameter alpha.<br /><br />In this problem we are asked to make plots with a Weibull distribution of alpha = .3. What should we use as the beta value, 1? (This is the expected value, although I am not sure about how this will be the scaling factor)<br /><br />Also, we are supposed to make plots of a Pareto distribution with alpha 1.5, and another one with alpha .5 and scale parameter 1/3.<br /><br />I though only the Weibull distribution had a scale parameter ... also, what should be the minimum value k for the Pareto distribution?<br /><br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-61526591106612477452012-01-23T22:55:20.585-08:002012-01-23T22:55:20.585-08:00Kudos on starting early! I don't want to spoil...Kudos on starting early! I don't want to spoil it too much for others who'd like to think more about this on their own, and I didn't get what you meant by two options, so I'll just answer your question with another question (a small hint) - for l<k, how many times do you think the shortest path will visit the central node B? Please don't answer this here - to continue this discussion, consider emailing me, or waiting till Wednesday evening!Ragahttps://www.blogger.com/profile/18299029233474582581noreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-70075705492499261192012-01-23T21:42:30.525-08:002012-01-23T21:42:30.525-08:00Hey, I'm having trouble with 4a), calculating ...Hey, I'm having trouble with 4a), calculating P(l, k). This seems really difficult. I can get values for P(1,k) and P(l,k) where l > k. However, even for another simple value like P(2, k) for some given k, I can't calculate this. In this case there are two options, but the probabilities aren't independent so I can't get an expression. Do you have any tips on this problem? It's tough because the rest of 4) builds on this part. Thanks,Robert Karlhttps://www.blogger.com/profile/15363540058532142191noreply@blogger.comtag:blogger.com,1999:blog-6868481728587664940.post-90565899452034732662012-01-20T22:57:39.542-08:002012-01-20T22:57:39.542-08:00Please note that a typo in Problem 4(c) has been f...Please note that a typo in Problem 4(c) has been fixed. The updated pdf will be synced on the course website soon. The change is as follows: In the algorithm provided in 4(c), an intermediate node on the ring that receives a packet from the middle node B will <b>always</b> forward it along the ring.Ragahttps://www.blogger.com/profile/18299029233474582581noreply@blogger.com