Think you'd definitely need more than 3 grams, i've been thinking of making it after reading about it here http://www.marijuana-seeds.nl/blog/tasty-treats-marijuana-edibles/.
I heard that you need roughly 4 sticks of butter for every ounce of marijuana.